Cheng Zhao
cc62978ac3
win: Add NativeWindowFramelessView as non-client view.
2013-09-09 14:30:07 +08:00
Cheng Zhao
f833423a2f
win: Save draggable region.
2013-09-09 12:12:17 +08:00
Cheng Zhao
3c0671c179
Quit when all windows are closed if running an app by passing it in command line.
2013-09-09 10:54:08 +08:00
Cheng Zhao
a00bf3e1e1
Print stack when got error on startup.
2013-09-09 10:49:28 +08:00
Cheng Zhao
b9d994dca2
Make sure the cursor doesn't drift away when dragging window.
2013-09-06 12:12:17 +08:00
Cheng Zhao
b7c2295a1c
Don't use setMouseDownCanMoveWindow to implement draggable area.
...
It would not work when we have the in-window devtools.
2013-09-06 11:54:52 +08:00
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
a5eb9ea08f
Add has_frame_ attribute for NativeWindow.
2013-09-05 21:43:47 +08:00
Cheng Zhao
4223867dbc
Send and receive the AtomViewHostMsg_UpdateDraggableRegions message.
2013-09-05 20:06:54 +08:00
Cheng Zhao
3b7dd85d3f
Merge pull request #65 from atom/custom-protocol
...
Support custom protocols
2013-09-04 03:33:09 -07:00
Cheng Zhao
c7fed48c4a
Emit erros when getting errors in IO thread.
2013-09-03 17:21:10 +08:00
Cheng Zhao
7737708fdd
Add protocol interceptor API.
2013-09-03 16:50:10 +08:00
Cheng Zhao
610ac5b045
Revert " 💄 for the beforeunload handler."
...
Restore the previous behavior of beforeunload handler.
This reverts commit b1f30c1eb6
.
2013-09-02 16:39:00 +08:00
Cheng Zhao
30c9cd4318
Use dummy stdin stream on Windows.
2013-08-31 12:13:08 +08:00
Cheng Zhao
790c53825b
Merge pull request #79 from atom/message-box-button-order
...
Fix button order on Win32
2013-08-30 16:41:25 -07:00
Paul Betts
10bd2384d0
Fix button order on Win32
...
On Windows, the button order is left to right, with the primary action on the
left (i.e. "Ok" "Cancel"). On Mac, the button order is that the primary action
is nearest to the corner.
2013-08-30 12:08:04 -07:00
Cheng Zhao
335db788a5
Add InterceptProtocol AtomURLRequestJobFactory.
2013-08-30 21:15:46 +08:00
Cheng Zhao
d8cd3d78ff
Make ReadRawData a public member, so there is no need to detect types.
2013-08-30 20:49:27 +08:00
Cheng Zhao
2a462cc2b7
💄 fix cpplint warning.
2013-08-30 20:24:42 +08:00
Cheng Zhao
df30f130d3
Separate logics between low level URLRequestJob and js calls.
2013-08-30 20:02:17 +08:00
Cheng Zhao
24e613c827
Separate URLRequestStringJob from atom_api_protocol.
2013-08-30 16:16:41 +08:00
Cheng Zhao
7df256f8dc
Move atom_url_request_job_factory to browser/net.
2013-08-30 16:10:36 +08:00
Cheng Zhao
2000f88c84
Allow passing a fallback protocol handler for request jobs.
2013-08-30 15:48:57 +08:00
Cheng Zhao
738cbd4080
💄 Fix protocol specs.
2013-08-30 13:04:02 +08:00
Cheng Zhao
11221979e5
Disable overriding built-in protocols with protocol.registerProtocol.
2013-08-30 12:51:15 +08:00
Cheng Zhao
72c604f741
Custom the implementation of url request job factory.
...
It's needed for interceptor API.
2013-08-30 12:04:51 +08:00
Cheng Zhao
04910b8391
Skelecton for interceptor APIs.
2013-08-30 10:15:15 +08:00
Cheng Zhao
4bdd1b88ad
Wrap passed 'url' and 'referrer' in an 'request' object.
2013-08-29 21:12:48 +08:00
Cheng Zhao
261f50701a
Add 'registered' and 'unregistered' events for protocol module.
...
This is only used for writing specs.
2013-08-29 20:56:25 +08:00
Cheng Zhao
bc4201f911
Make protocol module an EventEmitter.
2013-08-29 20:38:04 +08:00
Cheng Zhao
6915f020d9
Add protocol.isHandledProtocol API.
2013-08-29 20:22:52 +08:00
Cheng Zhao
b1f30c1eb6
💄 for the beforeunload handler.
...
Returning text in beforeunload handler should prevent the close instead
of allow the close.
2013-08-29 15:36:09 +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
dbdf2d8d54
Add OnLoadingStateChanged for NativeWindowObserver.
2013-08-29 11:19:34 +08:00
Cheng Zhao
9e16e41bb3
Enable creating object from remote object's member.
2013-08-25 20:44:52 +08:00
Cheng Zhao
c86acc4cd7
Add remote.createFunctionWithReturnValue API.
2013-08-25 17:22:36 +08:00
Cheng Zhao
244d7eaf17
Allow returning file for custom protocol.
2013-08-25 16:06:29 +08:00
Cheng Zhao
1ed77371c0
Enable customing mime type and charset when returning reqeust string job.
2013-08-25 15:07:07 +08:00
Cheng Zhao
912bac698c
Allow returning string in custom protocols.
2013-08-25 12:36:06 +08:00
Cheng Zhao
8464fb4f64
Pass weak pointers when posting tasks to other threads.
2013-08-24 20:32:12 +08:00
Cheng Zhao
0b01e49cd3
💄
2013-08-24 20:21:46 +08:00
Cheng Zhao
8cd7ccdc0d
Call the JS handler to get the type of job.
2013-08-24 20:18:12 +08:00
Cheng Zhao
b7c9f8ba1c
The request should go through UI thread.
2013-08-24 19:46:38 +08:00
Cheng Zhao
f63661256f
Return AdapterRequestJob when creating job.
2013-08-24 19:33:23 +08:00
Cheng Zhao
33279b1a2f
Actually set and remove protocol handlers in IO thread..
2013-08-24 17:59:34 +08:00
Cheng Zhao
96c173217f
Remember registered schemes.
2013-08-24 16:38:19 +08:00
Cheng Zhao
b9cbfb8103
Skelecton for the protocol module.
2013-08-24 15:26:10 +08:00
Cheng Zhao
833190e8fa
💄 for cpplint.
2013-08-21 21:36:16 +08:00
Cheng Zhao
dde07f03ec
[Win] Remove the extra MenuWrapper class.
2013-08-19 16:30:25 +08:00
Cheng Zhao
738a929f8c
[Win] Add flag to build window menu.
2013-08-17 17:10:16 +08:00