Cheng Zhao
7e67f7632d
💄 Fix cpplint warnings.
2013-12-15 17:09:35 +08:00
Cheng Zhao
409a431892
Huge commit to use new V8 and Content APIs.
...
Still got a lots of linking errors!
2013-12-11 15:48:19 +08:00
Cheng Zhao
d82cfc023f
💄 There should be no space between & and type name.
2013-12-10 14:27:25 +08:00
Cheng Zhao
cb73a3c572
Remove the RestartHangMonitorTimeout API, which is useless now.
2013-12-09 14:17:56 +08:00
Cheng Zhao
085b1a45ee
Report the right render view that is deleted.
2013-12-06 15:53:40 +08:00
Cheng Zhao
623e0f3ae4
Release render view's remote objects when it's deleted.
...
Privously we release them when the window is unloaded, which is not
correct since a render view can have multiple windows (or js contexts)
and when the unload event is emitted the render view could already have
gone.
This PR does the cleaning work purely in browser, so here is no need to
worry about renderer's life time.
2013-12-06 14:44:25 +08:00
Cheng Zhao
3b4a45ac65
Add BrowserWindow.capturePage API.
2013-11-22 14:23:19 +08:00
Cheng Zhao
dc1a8b644a
Get the status of devtools from brightray, fixed #27 .
2013-11-05 10:32:45 +08:00
Cheng Zhao
88ce2a5390
Add BrowserWindow.isVisible() API.
2013-10-03 08:28:22 +08:00
Cheng Zhao
34e1800716
Add 'loading-state-changed' event for BrowserWindow.
...
It's required for testing the BrowserWindow class.
2013-08-29 11:47:07 +08:00
Cheng Zhao
a949e9542d
Add AtomWindow.isWebViewFocused() API, fixes #57 .
2013-08-16 12:56:25 +08:00
Cheng Zhao
d59fb55a81
Add BrowserWindow.inspectElement(x, y) API.
2013-07-18 19:21:25 +08:00
Cheng Zhao
dbaf8860a6
Revert "Make BrowserWindow inheritable. Fixed #23."
...
This reverts commit 5a0aab2e4f
.
2013-06-18 21:40:03 +08:00
Cheng Zhao
5a0aab2e4f
Make BrowserWindow inheritable. Fixed #23 .
2013-06-18 18:35:08 +08:00
Cheng Zhao
eaa03facee
Add API for renderer's crashes.
2013-06-10 21:08:30 +08:00
Cheng Zhao
f62b88d9ae
Add BrowserWindow.restartHangMonitorTimeout() API.
2013-06-07 18:42:57 +08:00
Cheng Zhao
ae88f303fa
Add responsive and unresponsive events for window.
2013-06-06 19:45:48 +08:00
Cheng Zhao
9c86978da0
Add 'blur' window event.
2013-05-24 17:58:39 +08:00
Cheng Zhao
edf2e84895
Add BrowserWindow.focusOnWebView and blurWebView.
2013-05-24 17:51:15 +08:00
Cheng Zhao
5c3857790c
Add BrowserWindow.isFocused() API.
2013-05-16 22:56:52 +08:00
Cheng Zhao
34e9132b68
Modify Window API to be more consistent.
...
* '_' becomes '-'
* removes 'position' field
* adds 'center' method.
2013-05-10 20:34:05 +08:00
Cheng Zhao
afe07521c5
Correctly handle window's lifetime when it's closed.
2013-05-01 23:28:01 +08:00
Cheng Zhao
d28f51fb9c
Add getRoutingID and getProcessID for window API.
2013-04-23 17:21:34 +08:00
Cheng Zhao
53dd742632
Add Window.url API.
2013-04-19 00:06:10 +08:00
Cheng Zhao
d3e4db7ba3
Emit 'page-title-updated' as javascript event for window.
2013-04-18 23:50:47 +08:00
Cheng Zhao
100c4a426b
Complete a few APIs for getters.
2013-04-18 15:38:04 +08:00
Cheng Zhao
d06472b092
Add partial APIs for WebContents and NavigationController.
2013-04-18 15:09:53 +08:00
Cheng Zhao
257e439efb
Add GetTitle for window API.
2013-04-18 14:30:05 +08:00
Cheng Zhao
df50cc08d6
Expose interface of NativeWindow in javascript.
2013-04-17 22:49:49 +08:00
Cheng Zhao
7da34e65f7
Initial empty window javascript binding.
2013-04-16 00:25:08 +08:00
Cheng Zhao
488d72e41b
Internal built-in module code should be wrapped under api namespace.
2013-04-15 23:01:12 +08:00