Cheng Zhao
|
6bdf7c51b4
|
Don't rely on "iosfwd" for forward including std::string.
It seems that VS fails on this.
|
2013-07-01 21:56:46 +08:00 |
|
Cheng Zhao
|
f26db5c7a1
|
Enable getUserMedia(). Part of fixes for #31.
|
2013-06-21 16:05:28 +08:00 |
|
Cheng Zhao
|
e440ad2714
|
Make window aware of renderer crashes.
|
2013-06-10 20:42:10 +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
|
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
|
f477ec09c0
|
Implement some common web contents overrides.
|
2013-05-15 19:11:30 +08:00 |
|
Cheng Zhao
|
349ed4fd73
|
Implement window.moveTo and window.ResizeTo. Fix #2.
|
2013-05-15 13:56:25 +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
|
4aeb5e1388
|
Add dialog API.
Supported APIs:
* openFile
* openMultiFiles
* openFolder
* saveAs
Each API is asynchronous and accepts a callback.
|
2013-05-03 19:31:24 +08:00 |
|
Cheng Zhao
|
d151d494bd
|
Add Browser class to controll when the application should quit.
|
2013-05-02 23:43:23 +08:00 |
|
Cheng Zhao
|
264f085afb
|
Add WindowList class to manage all windows.
|
2013-05-02 22:54:09 +08:00 |
|
Cheng Zhao
|
e7aab096e7
|
Make sure WindowClosed message is sent when window is destroyed.
|
2013-05-02 20:08:23 +08:00 |
|
Cheng Zhao
|
afe07521c5
|
Correctly handle window's lifetime when it's closed.
|
2013-05-01 23:28:01 +08:00 |
|
Cheng Zhao
|
edd8410c24
|
Simply the closing model.
|
2013-05-01 16:12:00 +08:00 |
|
Cheng Zhao
|
9f1fe4d2c2
|
Closing a window requires closing web contents now.
In this way, we can prevent the close of window by using beforeunload
handler.
|
2013-05-01 15:42:30 +08:00 |
|
Cheng Zhao
|
a674572dd4
|
Implement beforeunload event.
Unlike normal browser which would show a dialog to choose whether to
continue, you can just return a empty string in the handler to prevent
unloading.
|
2013-05-01 00:05:19 +08:00 |
|
Cheng Zhao
|
74c519ac3f
|
Enable getting window from routing id and process id.
|
2013-04-30 20:32:23 +08:00 |
|
Cheng Zhao
|
1b87a31940
|
Add ipc.sendSync in renderer.
|
2013-04-23 21:52:19 +08:00 |
|
Cheng Zhao
|
16244e42e0
|
Use require('ipc').send to communicate between browser and renderer.
|
2013-04-23 12:18:07 +08:00 |
|
Cheng Zhao
|
66a0abe799
|
Renderer can now use process.send to send messages to browser.
|
2013-04-22 21:32:48 +08:00 |
|
Cheng Zhao
|
993cf1cc61
|
Add API messages for IPC.
|
2013-04-21 11:01:04 +08:00 |
|
Cheng Zhao
|
7f581973c3
|
Implement window.open.
|
2013-04-20 13:56:01 +08:00 |
|
Cheng Zhao
|
5fb5ce2251
|
Enable creating window with existing web contents.
|
2013-04-20 13:42:39 +08:00 |
|
Cheng Zhao
|
2d016785a7
|
Add observers list for NativeWindow.
|
2013-04-18 20:50:58 +08:00 |
|
Cheng Zhao
|
100c4a426b
|
Complete a few APIs for getters.
|
2013-04-18 15:38:04 +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
|
26d6df7852
|
Handle keyboard events with AtomEventProcessingWindow.
Some system events like cmd+` will be handled by it automatically.
|
2013-04-12 20:31:15 +08:00 |
|
Cheng Zhao
|
af94c434ac
|
use AtomEventProcessingWindow as native window.
|
2013-04-12 15:53:29 +08:00 |
|
Cheng Zhao
|
c27cbaaaf9
|
Implement generic native window class.
|
2013-04-12 15:04:46 +08:00 |
|