Cheng Zhao
bbf622187c
Merge pull request #4178 from deepak1556/webview_blinkfeatures_attributes_patch
...
webview: add blinkfeatures attribute
2016-01-21 15:03:33 -07:00
Cheng Zhao
56e8ddbdaf
Merge pull request #4186 from CharlieHess/webview-load-url
...
Expose loadURL for the webview tag.
2016-01-21 14:53:32 -07:00
Charlie Hess
7192a8517b
Expose loadURL for the webview tag.
2016-01-21 13:31:35 -08:00
Kevin Sawicki
b1f679ff6d
Clean up semicolon lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Robo
fab34b400e
webview: add blinkfeatures attribute
2016-01-21 15:43:41 +05:30
Kevin Sawicki
0fe539f2c3
Remove unneeded semicolon
2016-01-15 15:30:07 -08:00
Kevin Sawicki
ae20292322
Add missing {
2016-01-15 15:30:07 -08:00
Kevin Sawicki
aab2821122
Use ES6 style class
2016-01-15 14:28:12 -08:00
Kevin Sawicki
caf7cf5582
Use const instead of var
2016-01-15 11:46:52 -08:00
Kevin Sawicki
79f1029d59
Remove unneeded .constructor segments
2016-01-15 10:29:00 -08:00
Kevin Sawicki
34030d7b2b
Use util.inherits instead of CoffeeScript's extend function
2016-01-15 10:17:45 -08:00
Jessica Lord
003de0debe
Clean up variable declarations
2016-01-14 18:07:29 -08:00
Jessica Lord
5412ecdcc1
Use const
2016-01-14 14:52:05 -08:00
Jessica Lord
ab8908a4af
Use const
2016-01-14 14:41:46 -08:00
Kevin Sawicki
030d2a843c
Remove extra newlines around comments
2016-01-14 11:10:12 -08:00
Kevin Sawicki
f4af744519
Use // for single line comments
2016-01-14 10:35:29 -08:00
Robo
8b38bbcf18
webview: respect properties provided during webview creation
2016-01-13 22:40:55 +05:30
Cheng Zhao
8ae836d82d
Unlisten the zoom-level-changed event when webview is detached
2016-01-13 14:58:16 +08:00
Cheng Zhao
af02739c4e
Change webview's zoom level on JavaScript side
2016-01-13 12:50:02 +08:00
Cheng Zhao
5b7d1a9890
Add insertText to WebContents
2016-01-13 11:55:49 +08:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00
Kevin Sawicki
403870a27e
Migrate to block comments
2016-01-12 16:22:34 -08:00
Cheng Zhao
4844e68ba1
Rename did-navigate-to-different-page to did-navigate
2016-01-04 12:09:11 +08:00
Cheng Zhao
941232a76b
Merge pull request #3975 from leethomas/add-webview-navigation-events
...
Add webview navigation events
2016-01-04 11:24:27 +08:00
Cheng Zhao
14db4a1946
Add isDevToolsFocused to webview
2016-01-04 10:46:30 +08:00
leethomas
911e60b507
add did-navigate-in-page event to webview & webcontents (triggers on hash/ref changes, anchor links...), pass url into events
2016-01-01 17:13:39 -08:00
leethomas
9f6319dd71
add will-navigate, did-navigate-to-different-page events to webview
2016-01-01 13:36:35 -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
Cheng Zhao
c4931bb2d1
Merge pull request #3865 from deepak1556/visibility_api_patch
...
browser: fix document.hidden value
2015-12-22 19:04:23 +08:00
Robo
cc7040d75f
add test
2015-12-21 18:47:52 +05:30
Robo
ff51e4033a
browser: fix value of document.hidden
2015-12-21 17:43:46 +05:30
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Brian R. Bondy
fed0c43970
Add media play events to webview
2015-12-19 22:37:51 -05:00
Cheng Zhao
0282d424bf
Pass opener ID in command line
2015-12-17 21:27:14 +08:00
Cheng Zhao
71303d4804
Fix context menu not working in devtools
2015-12-16 22:57:03 +08:00
Kevin Sawicki
c5936a024d
Remove unneeded custom postMessage on window.opener
2015-12-14 16:54:26 -08:00
Kevin Sawicki
184b11be4c
Use id from source window when building proxy for event source
2015-12-14 16:47:33 -08:00
Kevin Sawicki
0ef0ce7345
Add comment about window.opener tweaks
2015-12-14 14:57:38 -08:00
Kevin Sawicki
574eec3e74
Make window.opener a BrowserWindowProxy
2015-12-14 14:55:48 -08:00
Cheng Zhao
a6976b7d83
Merge pull request #3768 from atom/window-post-message-origin
...
Fix window.postMessage event.origin value
2015-12-11 11:18:37 +08:00
Kevin Sawicki
8401ece537
removeWindow -> remove
2015-12-10 17:22:05 -08:00
Kevin Sawicki
49ca7509c7
Reuse BrowserWindowProxy instances
2015-12-10 17:20:10 -08:00
Kevin Sawicki
9bc7c62588
Use source origin in window.postMessage event
2015-12-10 16:52:39 -08:00
Cheng Zhao
2c6d232254
Don't add too much listeners in BrowserWindowProxy
2015-12-04 11:12:36 +08:00
Charlie Hess
0d30a8d70c
Make downloadURL available on the webview tag.
2015-12-02 18:40:02 -08:00
Cheng Zhao
e5974e44ed
Deprecate the page-title-set event
...
We have two names for the same event, page-title-updated wins.
2015-12-01 18:50:56 +08:00
Paul Betts
789380dfad
Ensure calling webview.send will not block the renderer
...
When the browser process is busy, calling webview.send (a method that appears
on its face to be non-blocking) will actually block, because most webview methods
are remoted to a guest view instance in the browser. Instead, define a few methods
which will instead send its call over an async IPC message.
2015-11-25 15:54:30 -08:00
Cheng Zhao
94e24abb99
Use the new style remote module in Electron
2015-11-13 22:22:25 +08:00