Cheng Zhao
7457eccdee
Merge pull request #1238 from deepak1556/browser_window_lib_patch
...
define devToolsWebContents for use from remote module
2015-03-16 16:43:46 +08:00
Robo
87cb2ece80
add DidFailProvisionalLoad method
2015-03-14 08:58:30 +05:30
deepak1556
adb130cefa
define devToolsWebContents for use from remote module
2015-03-11 19:58:12 +05:30
Cheng Zhao
6856d203c5
Merge pull request #1215 from deepak1556/dialog_patch
...
avoid overriding type value of showMessageBox
2015-03-09 13:50:18 -07:00
Cheng Zhao
29471ff8b5
Fix styling of #1209
2015-03-09 13:46:46 -07:00
deepak1556
0b780def24
avoid overriding type value of showMessageBox
2015-03-06 17:56:26 +05:30
Robo
0663b9dae2
using WebContentsObserver::NavigationEntryCommitted to set virtualurl
2015-03-05 20:09:27 +05:30
Charlie Hess
b6787a9b34
Emit a new before-quit event at the start of Browser::Quit, which gives us a chance to cancel before any windows are closed.
2015-02-25 19:33:42 -08:00
Cheng Zhao
e81baf759a
Enable setting icon of menu item
2015-02-13 12:11:50 +08:00
Cheng Zhao
b28a241dbf
Simplify the code to call delegate method
2015-02-13 11:47:22 +08:00
Cheng Zhao
da407200d2
Return NativeImage in BrowserWindow.capturePage
2015-02-12 13:45:50 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
f55379ed5b
Add missing trampoline method
2015-02-06 17:07:29 -08:00
Paul Betts
1b9649b481
Switch to gfx::Image
2015-02-06 17:00:26 -08:00
Paul Betts
fa6d499a4e
Come correct with line length and constness
2015-02-06 16:32:27 -08:00
Paul Betts
0afac1e05a
Plumb code all the way up
2015-02-06 16:12:32 -08:00
Cheng Zhao
071a55974a
A little clean up
2015-02-05 00:19:30 -08:00
Cheng Zhao
7c8bed7bfc
Get the WebViewManager from embedder WebContents
...
This make our lives easier when we have multiple BrowserContext support.
2015-02-04 15:52:59 -08:00
Cheng Zhao
209840871c
Seperate the API implementation of WebViewManager
2015-02-04 15:39:41 -08:00
Cheng Zhao
331d0481bb
Move web_view_manager to atom/browser
2015-02-04 15:17:28 -08:00
Cheng Zhao
2c61070b36
Avoid using global BrowserContext
2015-02-04 15:08:29 -08:00
Cheng Zhao
502c0f0df7
Remove the WebViewRendererState class
2015-02-04 14:58:03 -08:00
Cheng Zhao
92142ee372
Fix the API to set opaque background
2015-01-27 13:18:31 -08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
20431f4f2f
No need to route via ATOM_INTERNAL_MESSAGE
2015-01-27 10:47:11 -08:00
Cheng Zhao
81b370ee9f
Implement CheckMediaAccessPermission, fixes #1017
2015-01-23 15:13:49 -08:00
Cheng Zhao
3d858bee95
Guard against bad events in screen module
...
It can happen that the DisplayObserver methods are called without a
valid Display object passed.
2015-01-19 14:46:29 -08:00
Cheng Zhao
7fbf4246ac
Add editing commands for WebContents
2015-01-19 12:09:47 -08:00
Cheng Zhao
4604c9bb0e
Add a few more paths for app.getPath
2015-01-18 21:43:23 -08:00
Cheng Zhao
ce52a87477
Add "cache" and "userCache" directories
2015-01-18 21:43:22 -08:00
Cheng Zhao
3d398458a8
Throw error when PathService call failed
2015-01-18 21:43:21 -08:00
Cheng Zhao
a988b48016
Implement app.getHomeDir with app.getPath
2015-01-18 21:43:20 -08:00
Cheng Zhao
06da5f254a
Add app.setPath and app.getPath APIs
...
They can be used to set/get any path defined in PathService
2015-01-18 21:43:19 -08:00
Cheng Zhao
45c26e0e5a
Add app.setDataPath API
2015-01-18 21:43:18 -08:00
Cheng Zhao
c6fb645f6b
Warning of app not ready in screen module
2015-01-18 21:42:46 -08:00
Cheng Zhao
b3c3556286
Update the displays when there is metrics change
2015-01-16 12:04:35 -08:00
Cheng Zhao
50b96ca7ef
Pass the display in screen events
2015-01-16 12:02:32 -08:00
Cheng Zhao
7749484628
Make getAllDisplays return current displays.
2015-01-16 11:39:25 -08:00
Cheng Zhao
b5898d3355
Add events on display add/remove.
2015-01-16 11:01:38 -08:00
Cheng Zhao
809c995c0b
Make "screen" module a browser module
2015-01-16 11:01:38 -08:00
Cheng Zhao
1a1cf57097
Unpack the arguments in ipc message
2015-01-14 19:33:24 -08:00
Cheng Zhao
2d6dc9c527
Convert arguments to V8 directly in EventEmitter::Emmit
...
This gets rid of the extra conversion between ListValue.
2015-01-14 17:51:54 -08:00
Cheng Zhao
ecb9e93394
File dialogs don't need icon
2015-01-05 15:29:26 -08:00
Cheng Zhao
8457090b18
Add "icon" option for message box
2015-01-05 15:08:42 -08:00
Cheng Zhao
ab83b21fa6
Use gfx::Image instead of gfx::ImageSkia in API
...
The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.
2015-01-02 18:43:56 -08:00
Cheng Zhao
6cdc8e4b96
Small style fixes
2014-12-19 12:48:53 -08:00
Hajime Morrita
dc9329ff43
Add BrowserWindow.showDefinitionForSelection()
...
This API shows the system-provided pop-up dictionary.
Some Mac apps including Chrome have "Look Up in in Dictionary" context
menu item. This API can be used to implement it.
2014-12-18 16:45:45 -08:00
Cheng Zhao
47d7a355f2
Make file dialogs work in <webview>, fixes #930
2014-12-18 12:58:17 -08:00
Cheng Zhao
a1ae399d10
Make getUserMedia work in <webview>, fixes #845
2014-12-18 12:02:53 -08:00
Cheng Zhao
da54ac5f55
Don't leak listeners in embedder when guest is destroyed
2014-12-17 20:44:15 -08:00