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
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
daa09ea9e7
Remove path for nodeIntgration value of 'disable'
2016-03-31 08:33:38 -07:00
Cheng Zhao
bfc6d77bb3
Pending renderer process no longer has render view attached
2016-03-10 17:06:22 +09:00
Robo
8a00406862
browser: add font related settings to webpreferences
2016-01-21 13:30:05 +05:30
Cheng Zhao
3f2b26ddb7
Add blinkFeatures option
2016-01-07 14:10:18 +08:00
Cheng Zhao
bd20b3f32a
Rely on content switches for implementing experimental features
2016-01-07 12:49:00 +08:00
Cheng Zhao
16d23bbda5
Remove pageVisibility option
...
The original purpose of this option is not working anymore, also adds
docs on the current way to disable process backgrounding.
2016-01-07 12:28:20 +08:00
Cheng Zhao
c6e03f8390
Remove overlayScrollbars and sharedWorker options
...
They are already enabled by default.
2016-01-07 12:17:19 +08:00
Cheng Zhao
0282d424bf
Pass opener ID in command line
2015-12-17 21:27:14 +08:00
Cheng Zhao
73e7773d84
Update to API changes of Chrome 47
2015-12-07 19:56:23 +08:00
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
860c46b3c1
Separate options from switches
...
On Windows the case sensitivity of command line switches are ignored, so
--nodeIntegraion will become --nodeintegration.
We should separate options from switches so we use "nodeIntegraion" in
options, while passing "--node-integration" in command line.
2015-11-13 14:05:49 +08:00
Cheng Zhao
ba457681b2
Avoid storing unrelated things in WebContentsPreferences
2015-11-11 10:37:34 +08:00
Cheng Zhao
737e22b003
Use minWidth style for options instead of min-width
2015-11-11 10:37:34 +08:00
Cheng Zhao
7bdbe45c91
subpixel-font-scaling option is removed
2015-10-16 15:01:28 +08:00
Cheng Zhao
de41890196
Inherit parent window's options in window.open
2015-09-22 22:32:10 +08:00
Robert Hencke
76b7cd0908
Fix small typo in debug message.
2015-09-19 17:11:29 -04:00