Kevin Sawicki
85517a1eea
Add 2 spaces before comment
2016-06-14 15:47:33 -07:00
Kevin Sawicki
f29801ad2b
Add background page web contents type
2016-06-14 15:47:33 -07:00
Kevin Sawicki
c7b2545b1b
Use web contents type enum and add converter
2016-06-14 15:47:32 -07:00
Kevin Sawicki
f25c1f864b
Use RenderProcessPreferences for non-remote web contents
2016-06-14 15:47:32 -07:00
Kevin Sawicki
11e68ff932
Only add extensions to non-remote webContents
2016-06-08 12:00:13 -07:00
Kevin Sawicki
4f0a52628e
Add showDefinitionForSelection to webContents/webview
2016-06-08 10:15:36 -07:00
Cheng Zhao
3c873736d7
Add update-target-url event
2016-06-07 15:56:19 +09:00
deepak1556
a70749e80a
browser: implement bluetooth chooser interface
2016-06-01 11:43:39 +05:30
Cheng Zhao
5f3fdbe635
Simplify the implementation of sendToAll
2016-05-29 12:10:32 +09:00
Cheng Zhao
9ab76fb884
Add webContents.sendToAll to send message to all frames
2016-05-27 16:58:49 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
Cheng Zhao
998ce73ad9
Add webContents.id property
2016-05-18 13:57:48 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Rob Brackett
d3e879cd7f
Change WebContents::IsLoadingMainFrame
to compare SiteInstances
...
(per @deepak1556's recommendation)
Also updates tests to cover the situation where navigating between pages from the same potential "site" and adds generalized tests for `isLoadingMainFrame()`.
2016-04-19 22:05:09 -07:00
Rob Brackett
942971b01a
Fix linting errors.
2016-04-19 19:20:59 -07:00
Rob Brackett
64a84dee3b
Add isLoadingMainFrame
method to WebContents.
...
Also switch `webContents.executeJavaScript` to check it instead of `isLoading`.
There doesn’t seem to be a reasonable public way to get this information out of Chromium, so it’s synthesized here based on WebContentsObserver callbacks.
Fixes #5183 .
2016-04-18 10:37:08 -07:00
Cheng Zhao
2fbe06a2a5
Handle the Page.reload command coming from devtools
2016-04-12 16:36:12 +09:00
Cheng Zhao
d156846036
Add backgroundThrottling option to webPreferences
2016-04-08 15:54:33 +09:00
Cheng Zhao
576b54320a
Fix compilation errors on Windows
2016-04-01 16:34:20 +09:00
deepak1556
e0fe478ae7
decide early on render initiated window creations
2016-04-01 08:14:29 +05:30
Robo
f8f3fba433
webview: allow setting background color
2016-03-14 15:01:36 +05:30
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Robo
fce641aab6
browser: allow enumeration of media device labels
2016-02-26 16:31:20 +05:30
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Cheng Zhao
69f93a7528
Merge pull request #4223 from deepak1556/notification_disable_patch
...
session: add setPermissionRequestHandler api
2016-02-01 20:51:22 +08:00
Robo
b575cd0ef9
add fullscreen permission type
2016-02-01 16:22:05 +05:30
Robo
45eada306f
add pointerlock permission type
2016-02-01 15:13:49 +05:30
Robo
db26dcaf4c
expose handler from session and remove permission-request event
2016-02-01 12:23:51 +05:30
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Robo
2a278ceb8f
delegate to permission manager for other permissions
2016-01-30 16:49:18 +05:30
Heilig Benedek
0c9174bc7c
Introduced the cursor-changed event with one parameter - the name of the cursor type
2016-01-30 06:33:55 +01:00
Robo
85e13333c3
webview: add permission-request event
2016-01-29 15:23:28 +05:30
Robo
0e2323c9c8
browser: add webContents.debugger api
2016-01-21 23:52:23 +05:30
Cheng Zhao
af02739c4e
Change webview's zoom level on JavaScript side
2016-01-13 12:50:02 +08:00
Cheng Zhao
55dfddba77
Handle executeJavaScript in JavaScript
2016-01-13 12:11:46 +08:00
leethomas
96d68b9285
🐛 add isDevToolsFocused to WebContents to fix #3928 , add devtools-[focused|open|close] events to WebView to fix #3783 .
2015-12-31 22:21:54 -08:00
Brian R. Bondy
11b2015535
Add did-change-theme-color event to webview
2015-12-22 17:28:22 -05:00
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Robo
39e615ed87
webContents: adding findInPage api
2015-12-21 17:09:56 +05:30
Cheng Zhao
144b73c267
Merge pull request #3877 from bbondy/master
...
Add media play events to webview
2015-12-21 18:22:30 +08:00
Brian R. Bondy
fed0c43970
Add media play events to webview
2015-12-19 22:37:51 -05:00
Robo
7b03ac6d61
navigaton: handle history operations from renderer
2015-12-20 01:23:47 +05:30
Charlie Hess
f2797d2eab
Merge commit '58567834c7cb9c290ef48c9e8f54ae37246ef665' into web-contents-download-url
...
Conflicts:
atom/browser/api/atom_api_web_contents.cc
2015-12-03 10:31:51 -08:00
Cheng Zhao
a15f9fab5b
Use BuildPrototype to build prototype
...
This saves the step of manually keeping the global template object,
which is easy to forget then leak.
2015-12-03 16:04:46 +08:00
Cheng Zhao
6795bd1d96
Do not manually manage native resources
...
We should rely on the destructor to cleanup everything, instead of
putting them in the Destroy method.
2015-12-03 15:38:43 +08:00
Charlie Hess
c311c6cf1b
Add a DownloadURL method on WebContents.
2015-12-02 13:49:30 -08:00
Cheng Zhao
9a20b33d97
Add isDestroyed method for classes with destroy method
2015-11-19 17:08:16 +08:00
Cheng Zhao
9236adfbf5
Translate menu template directly in C++
2015-11-02 23:31:44 +08:00
Robo
c969052f12
browser: handle flash context menu
2015-11-01 01:13:17 +05:30