Cheng Zhao
|
da2ded5453
|
Implement frameless window on OS X.
Most of the code came from Chromium's packaged app window.
|
2013-09-05 23:52:29 +08:00 |
|
Cheng Zhao
|
4223867dbc
|
Send and receive the AtomViewHostMsg_UpdateDraggableRegions message.
|
2013-09-05 20:06:54 +08:00 |
|
Cheng Zhao
|
556e84f53a
|
Discard fullscreen support on OS X 10.6.
|
2013-06-04 18:15:03 +08:00 |
|
Cheng Zhao
|
39bd56af4c
|
Focusing on window should also focus on application.
|
2013-05-25 15:08:58 +08:00 |
|
Cheng Zhao
|
3259246d17
|
Emit 'blur' event at right time.
|
2013-05-24 18:15:27 +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
|
06142aa2e8
|
Add 'Reload' in application menu. Fixes atom/atom-shell#4.
|
2013-05-15 20:24:51 +08:00 |
|
Cheng Zhao
|
a5459da717
|
💄
|
2013-05-10 20:54:55 +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
|
afe07521c5
|
Correctly handle window's lifetime when it's closed.
|
2013-05-01 23:28:01 +08:00 |
|
Cheng Zhao
|
9e489cae0c
|
Add window closing related methods for window observer.
|
2013-05-01 16:33:19 +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
|
5fb5ce2251
|
Enable creating window with existing web contents.
|
2013-04-20 13:42:39 +08:00 |
|
Cheng Zhao
|
603ae8b62e
|
Update to latest brightray.
|
2013-04-19 19:11:46 +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
|
7da34e65f7
|
Initial empty window javascript binding.
|
2013-04-16 00:25:08 +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
|
f62b00eaac
|
Fix devtools.
|
2013-04-12 16:41: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 |
|