Hari Juturu
3ba0e288f7
fix lint error
2017-05-31 23:20:13 -07:00
Hari Juturu
b5239754ba
Enable sandbox on webview
2017-05-31 23:01:14 -07:00
Kevin Sawicki
dbd240a7cb
Return null from native window.open when allowpopups is unset
2017-05-26 10:10:36 -07:00
rreimann
25015c4c63
Fix naming and formatting
2017-05-22 14:14:59 -07:00
rreimann
791486433d
Extract common code into IsPreferenceEnabled method
2017-05-22 14:14:59 -07:00
rreimann
7982754958
Fix linting violations
2017-05-22 14:14:59 -07:00
rreimann
1b75e45a62
Suppress pdf plugin dispatch if plugins are disabled
2017-05-22 14:14:59 -07:00
Kevin Sawicki
bde13353fb
Rename option to webviewTag and default to nodeIntegration value
2017-05-17 13:12:23 -07:00
Kevin Sawicki
837ea884de
Merge remote-tracking branch 'origin/master' into enable-webview
2017-05-17 12:45:29 -07:00
Hari Krishna Reddy Juturu
3321f7d39c
Changing command line option name
2017-05-08 17:27:31 -07:00
Hari Krishna Reddy Juturu
94d054cf11
Add option to override webview security
2017-05-06 22:10:42 -07:00
Ryohei Ikegami
37c4569982
Use GetBoolean directly
2017-03-28 20:00:33 +09:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Cheng Zhao
a49af26e39
Add nodeIntegrationInWorker option
2017-03-20 12:52:46 -07:00
Ryohei Ikegami
f3ce93f1bb
Fix C++ style
2017-03-19 18:24:05 +09:00
Ryohei Ikegami
a1f9a45276
Use native window.open implementation
2017-03-19 17:41:20 +09:00
Ryohei Ikegami
f7935b429a
Add WebContentsPreferences::IsNativeWindowOpenEnabled
2017-03-19 17:12:25 +09:00
deepak1556
07794a58aa
use zoom factor webpreference option when required.
...
* When setzoomlevel is not called for the host.
* When there is no zoom preference for the host.
2017-02-12 00:49:17 +05:30
Kevin Sawicki
4de637779b
Make int converter helper an instance method
2017-02-07 09:13:42 -08:00
Tan Wang Leng
7ec88d16a6
Use base::StringToInt() instead of std::stringstream
2017-02-07 09:05:55 -08:00
Tan Wang Leng
42f65c52fb
🐛 Fix webpreferences not accepting numeric options
...
The webpreferences attribute values are parsed as strings instead
of numbers. Therefore, a conversion is required.
2017-02-07 09:05:55 -08:00
Cheng Zhao
2e0780308c
allowDisplayingInsecureContent is removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
497f5a1199
Update files for Chrome 54 API changes
2017-01-19 09:05:59 +02:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ad3b837ad5
Rename option to contextIsolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
4bca6fe672
Add isolated world web preference option
2017-01-16 12:38:15 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Thiago de Arruda
c783ec72bc
Add "sandboxed" option to "webPreferences".
...
When "sandboxed" is passed as a web preference for `BrowserWindow`, the newly
created renderer won't run any node.js code/integration, only communicating with
the system via the IPC API of the content module. This is a requirement for
running the renderer under chrome OS-level sandbox.
Beyond that, certain behaviors of AtomBrowserClient are modified when dealing
with sandboxed renderers:
- `OverrideSiteInstanceNavigation` no longer create a new `SiteInstance` for
every navigation. Instead, it reuses the source `SiteInstance` when not
navigating to a different site.
- `CanCreateWindow` will return true and allow javascript access.
2016-09-27 06:01:46 -03:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Cheng Zhao
ea8ea1543f
Refactor osr_output_device
2016-08-03 13:06:38 +09:00
Cheng Zhao
aefd99ec7f
Only enable kEnableBeginFrameScheduling for offscreen
...
It has effects on performance and only gets turned on after Chrome 54.
2016-08-03 10:40:12 +09:00
Heilig Benedek
0a349ef16c
remove fpscounter, can be enabled from node
2016-07-31 05:13:29 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
Heilig Benedek
0dbe4bc417
api base
2016-07-28 01:58:23 +02:00
gellert
0ad0c79202
adds beginframe scheduling
2016-07-25 19:58:14 +02:00
Cheng Zhao
8d3e09747a
directWrite option is removed
2016-07-05 09:20:57 +09:00
Kevin Sawicki
ae71cf3df1
Add disableBlinkFeatures option
2016-06-07 13:42:42 -07:00
Cheng Zhao
dd804d7432
Enable specifying custom command line switches
2016-05-29 10:34:53 +09:00
Kevin Sawicki
4e44900930
Initialize guest_instance_id
2016-05-25 18:05:37 -07:00
Kevin Sawicki
75754804af
Use auto for embedder var
2016-05-25 10:34:33 -07:00
Kevin Sawicki
814e4377a4
Restore original comment position
2016-05-25 10:26:59 -07:00
Kevin Sawicki
6632547b17
parent -> embedder
2016-05-25 10:26:20 -07:00
Kevin Sawicki
89ffa02d75
Tweak comment
2016-05-25 10:26:05 -07:00
Kevin Sawicki
f58322891b
Remove added switch/option
2016-05-25 10:17:35 -07:00
Kevin Sawicki
583bb49f6c
Get hidden state by using parent window directly
2016-05-25 10:13:12 -07:00
Kevin Sawicki
73b07f76a3
Support document visiblity state and events in webviews
2016-05-25 09:12:52 -07:00
Brian R. Bondy
48e62ac0b5
Remove wwebaudio from web_preferences
...
Becauseit doesn't exist there anymore
2016-05-13 11:07:17 +09:00
Cheng Zhao
df397dab30
Add scrollBounce option and disable it by default
2016-05-06 14:57:43 +09:00
Cheng Zhao
31eb793fb0
Avoid adding a new option to webPreferences
2016-04-14 10:50:07 +09:00
Cheng Zhao
43c44da50b
Correctly set initial visibilityState
2016-04-13 23:07:28 +09:00