Cheng Zhao
a614134144
Simplify V8 operations.
2013-12-05 10:35:57 +08:00
Cheng Zhao
5670ee7693
Add API to get and override application name.
2013-12-05 10:32:58 +08:00
Cheng Zhao
420ae1a2cc
Add API to override browser version.
2013-12-05 10:26:01 +08:00
Cheng Zhao
02bbf07d3a
Enable overriding UA strings.
2013-12-05 10:08:11 +08:00
Cheng Zhao
7cffbc8a1a
Bump v0.7.4.
2013-12-04 22:12:58 +08:00
Cheng Zhao
e45f83e62a
Make sure browserWindow.destroy() doesn't leave zombie processes.
2013-12-04 22:00:20 +08:00
Cheng Zhao
687c9de5d7
win: Implement NativeWindowWin::HasModalDialog().
2013-12-04 21:18:53 +08:00
Cheng Zhao
e43b39a009
Do not send "unresponsive" message if window is showing a modal dialog.
2013-12-04 17:18:55 +08:00
Cheng Zhao
bfe8928ab1
Do not use flags to mark whether the window is unresponsive.
...
It's error prone.
2013-12-04 17:10:59 +08:00
Cheng Zhao
d6d1604623
mac: Add API to return whether the window has attached sheet.
2013-12-04 16:32:32 +08:00
Cheng Zhao
7d5826df85
Add "Cmd" and "Control" alias for "Command" and "Ctrl".
2013-11-29 16:31:38 +08:00
Cheng Zhao
9493c1b0bb
Bump v0.7.3.
2013-11-29 16:22:27 +08:00
Cheng Zhao
8237edcf0d
Add "CommandOrControl" to represent "Command" on OS X and "Ctrl" on other platforms.
2013-11-29 16:11:48 +08:00
Cheng Zhao
02d14ed23b
Fix returning the chosen option for synchronous dialogs.
2013-11-29 15:19:00 +08:00
Cheng Zhao
a0a5b20ef1
Send the "unresponsive" event if window is not closed in 500ms when closing it.
2013-11-29 14:52:12 +08:00
Cheng Zhao
fd081e162b
Bump v0.7.2.
2013-11-28 21:00:40 +08:00
Cheng Zhao
da03784610
Bump v0.7.1.
2013-11-23 01:09:42 -08:00
Cheng Zhao
6393e2e1e5
Bump v0.7.0.
2013-11-27 16:11:19 +08:00
Cheng Zhao
a5224f705d
mac: Use "Atom Framework.framework" instead of "Atom.framework".
...
The "Atom.framework" would confuse breakpad with "App.app" when finding
symbols.
2013-11-25 15:37:39 +08:00
Cheng Zhao
59b3e74542
Merge branch 'master' into breakpad
2013-11-22 19:37:34 +08:00
Cheng Zhao
4af646b760
Bump v0.6.12.
2013-11-22 15:18:21 +08:00
Cheng Zhao
4af802f215
Enable ignoring |rect| when calling BrowserWindow.capturePage.
2013-11-22 14:29:20 +08:00
Cheng Zhao
3b4a45ac65
Add BrowserWindow.capturePage API.
2013-11-22 14:23:19 +08:00
Cheng Zhao
8d6764e0a0
Return screenshot's data buffer instead of directly saving to file.
2013-11-21 22:03:29 +08:00
Cheng Zhao
36ecb35cb1
Add API to capture a page into file.
2013-11-21 21:50:06 +08:00
Cheng Zhao
9ad3b7939f
Bump v0.6.11.
2013-11-20 22:51:26 +08:00
Matt Colyer
113d644615
Don't map command to ctrl
...
We no longer what this behavior because it's confusing unless you
understand that atom-shell does this.
2013-11-19 15:18:54 -08:00
Cheng Zhao
374cf948e4
Make the crash reporter available for both browser and renderer.
2013-11-13 17:29:35 +08:00
Cheng Zhao
8f558fb252
mac: Tune parameters of breakpad.
2013-11-13 17:20:52 +08:00
Cheng Zhao
8f2dd91e34
Setup breakpad in crash reporter.
2013-11-13 17:20:52 +08:00
Cheng Zhao
6c0621fe05
Bump v0.6.10.
2013-11-11 20:04:15 +08:00
Cheng Zhao
baa6d9730c
win: Enable setting window icon in creation options.
2013-11-11 19:29:40 +08:00
Cheng Zhao
44c0dc9104
Bump v0.6.9.
2013-11-07 16:59:45 +08:00
Cheng Zhao
8d710609fd
win: Fix setting icon after format of atom.rc has changed.
2013-11-07 15:09:45 +08:00
Cheng Zhao
d1dc041aaf
win: Use exe's icon as window icon, fixed #123 .
2013-11-07 11:06:25 +08:00
Cheng Zhao
dc1a8b644a
Get the status of devtools from brightray, fixed #27 .
2013-11-05 10:32:45 +08:00
Cheng Zhao
585777e62d
Allow single-character accelerators.
2013-10-22 09:38:19 +08:00
Cheng Zhao
640f45a5b3
Fix a possible crash when calling AdapterRequestJob::Kill().
2013-10-22 09:33:38 +08:00
Cheng Zhao
27be89d39a
Should not touch process.argv when starting the default_app.
2013-10-21 16:48:52 +08:00
Cheng Zhao
5ce66fca5c
Do not use sscanf.
2013-10-21 15:59:45 +08:00
Cheng Zhao
94e4044160
Allow "Space" in accelerator.
2013-10-21 15:35:54 +08:00
Cheng Zhao
30eabfb9f6
Allow "F1" - "F24" in accelerator.
2013-10-21 15:33:19 +08:00
Cheng Zhao
a6eb261af0
Get rid of the NormalizeShortcutSuggestion function.
2013-10-21 14:34:25 +08:00
Cheng Zhao
6e4f74ae35
Allow more special keys in the accelerator.
2013-10-21 14:25:36 +08:00
Cheng Zhao
f091352c56
Slightly optimize accelerator token comparing.
2013-10-21 14:05:43 +08:00
Cheng Zhao
534ff5efdb
Be case-insensible of accelerators.
2013-10-21 13:46:37 +08:00
Cheng Zhao
51d92454ce
Map all single symbols in the keyboard to accelerators.
2013-10-21 13:39:55 +08:00
Cheng Zhao
7c30d037a3
mac: Enable to set the 'Help' menu, fixes #109 .
2013-10-17 10:21:24 +08:00
Cheng Zhao
92c68797d0
Enable more common ASCII tokens to be used in accelerator, fixes #107 .
2013-10-10 14:33:59 +08:00
Cheng Zhao
6a712d4db4
Merge pull request #105 from atom/windows-menu
...
Implement menu API on Windows, fixes #75 .
2013-10-06 17:58:42 -07:00
Cheng Zhao
a182de20a4
win: Newly created window should also be aware of application menu.
2013-10-07 08:56:52 +08:00
Cheng Zhao
caaab22841
Do not dereference remote callback if its renderer view is released.
2013-10-05 20:53:31 +08:00
Cheng Zhao
1e1fec15b6
Make objects registry code more structured.
2013-10-05 20:47:49 +08:00
Cheng Zhao
1524ced816
Set application menu would set menu for all windows on Windows.
2013-10-05 14:31:30 +08:00
Cheng Zhao
93f1a3dbd5
Make app.setApplicationMenu an alias to Menu.setApplicationMenu.
2013-10-05 13:46:48 +08:00
Cheng Zhao
666f6b3a01
Add app.getBrowserWindows() API.
2013-10-05 13:13:04 +08:00
Cheng Zhao
587484a5d0
Make sure application menu always get referenced.
2013-10-05 12:56:30 +08:00
Cheng Zhao
55a35d473d
win: Make web view focused initialy.
2013-10-04 23:38:37 +08:00
Cheng Zhao
d86172cc87
win: Make window menu's accelerators work.
2013-10-04 23:36:31 +08:00
Cheng Zhao
32432cc770
Convert "Command" to "Ctrl" in accelerators on non-Mac.
2013-10-04 23:01:29 +08:00
Cheng Zhao
ae98d9c8b6
💄 NativeWindowClientView no longer needs a extra content view.
2013-10-04 09:04:32 +08:00
Cheng Zhao
4e2d3f3d12
win: Make native window a views::View.
2013-10-04 08:52:45 +08:00
Cheng Zhao
a2f679e4bd
win: Respond to events of window menu.
2013-10-03 23:34:42 +08:00
Cheng Zhao
06ae5c06b8
Make sure binary version is dumped before uploading.
2013-10-03 11:48:13 +08:00
Cheng Zhao
0483871388
Add --version flag to print atom-shell's version.
2013-10-03 11:36:17 +08:00
Cheng Zhao
bbb9c37f70
BrowserWindow.focus() should not make window become visible, fixed #106 .
2013-10-03 09:42:20 +08:00
Cheng Zhao
88ce2a5390
Add BrowserWindow.isVisible() API.
2013-10-03 08:28:22 +08:00
Cheng Zhao
6748573dee
Show a simple menu in default_app on Windows.
2013-10-02 21:51:19 +08:00
Cheng Zhao
5c8566e0d4
win: Show popup menu at right place.
2013-10-02 21:43:52 +08:00
Cheng Zhao
5a6ff0f80d
win: Add BrowserWindow.setMenu API.
2013-10-02 21:24:21 +08:00
Cheng Zhao
2024ae5dba
💄 Fix build on Windows.
2013-10-02 20:43:30 +08:00
Cheng Zhao
709563c090
Set proxy service at the right place.
2013-09-29 21:43:17 +08:00
Cheng Zhao
99d901bc9a
Switch to use the ProxyResolverV8, fixes atom/atom#894 .
2013-09-29 15:06:29 +08:00
Cheng Zhao
54b0d0c9c0
Free the native window's memory after the event were sent for all observers.
...
If we delete the window immediately other observers may get a invalid
window and cause random crashes.
2013-09-27 15:24:03 +08:00
Cheng Zhao
f4f42b30ee
💄 Fix warnings of coffeelint.
2013-09-27 11:03:23 +08:00
Cheng Zhao
6bee435170
Destroy the event object immediately after the reply is sent, fixes #102 .
2013-09-26 11:28:53 +08:00
Cheng Zhao
5480cf58c2
Add spec for destroying synchronous event.
2013-09-26 11:27:09 +08:00
Cheng Zhao
cf75e4ac49
Move atom_event_processing_window to browser/ui.
2013-09-25 16:51:55 +08:00
Cheng Zhao
ac68589291
cocoa: Don't use Chrome's UnderlayOpenGLHostingWindow.
...
The UnderlayOpenGLHostingWindow would add a semi-transparent layer under
the window, I'm not very sure what does this class exactly do, but
removing it seems no harm to the renderer.
Fixes atom/atom#877 .
2013-09-25 16:51:33 +08:00
Cheng Zhao
bc95cac3ed
💄 Same indent.
2013-09-25 16:18:33 +08:00
Cheng Zhao
eed8f6cabc
Remove the CustomFrameView, it's no longer needed.
2013-09-25 15:40:22 +08:00
Cheng Zhao
14de58a6b7
Calling asynchronous functions in renderer now doesn't block browser.
2013-09-24 18:01:12 +08:00
Cheng Zhao
085f0a2544
win: Implement asynchronous ShowMessageBox.
2013-09-24 16:11:23 +08:00
Cheng Zhao
4000734504
win: Add dummy implementation for asynchronous open/save dialog.
2013-09-24 14:47:39 +08:00
Cheng Zhao
53c6d51d56
win: Accept parent window in ShowOpenDialog.
2013-09-24 10:13:43 +08:00
Cheng Zhao
ac76017702
Merge branch 'master' into no-blocking-browser
2013-09-24 10:09:35 +08:00
Cheng Zhao
9927b4bf4c
Merge pull request #93 from atom/file-dialog
...
Implement file dialogs API on Windows
2013-09-23 19:08:00 -07:00
Cheng Zhao
11ca836afc
Use the convient V8 wrapper in all files.
2013-09-24 09:41:54 +08:00
Cheng Zhao
a824c88352
Use same name convention in string16_conversions.
2013-09-23 23:00:58 +08:00
Cheng Zhao
8fdd3b3044
Use FromV8Arguments in atom_api_dialog.cc.
2013-09-23 22:52:48 +08:00
Cheng Zhao
a0d1a7620c
Put FromV8Value and ToV8Value to a new header.
2013-09-23 21:30:54 +08:00
Cheng Zhao
770a0068a3
Simplify conversions between native types and v8 types.
2013-09-23 21:12:40 +08:00
Cheng Zhao
26f0e49c9a
Make dialog.showSaveDialog accept a callback.
2013-09-23 20:08:49 +08:00
Cheng Zhao
c7637c78d1
mac: Add asynchronous ShowSaveDialog.
2013-09-23 20:08:32 +08:00
Cheng Zhao
30ca085fd8
Make dialog.showSaveDialog accept no parent window.
2013-09-23 19:59:00 +08:00
Cheng Zhao
e824b6c910
💄 Pick duplicate code together.
2013-09-23 19:42:07 +08:00
Cheng Zhao
43b492c641
mac: make ShowSaveDialog accept no parent window.
2013-09-23 19:36:52 +08:00
Cheng Zhao
c95cfc9540
Make dialog.showOpenDialog accept callback.
2013-09-23 19:23:49 +08:00
Cheng Zhao
d3dd2b4332
mac: Add asynchronous ShowOpenDialog.
2013-09-23 19:22:36 +08:00
Cheng Zhao
7e86ee37f3
💄 cpplint.
2013-09-23 17:27:32 +08:00
Cheng Zhao
f444e9dc74
💄 CoffeeScript is cute.
2013-09-23 16:51:00 +08:00
Cheng Zhao
76ac8f2719
Enable taking window as parameter in dialog.showOpenDialog.
2013-09-23 16:36:33 +08:00
Cheng Zhao
a4262bc39d
mac: Make ShowOpenDialog able to be shown as sheet.
2013-09-23 16:27:22 +08:00
Cheng Zhao
85d6588661
Make dialog.showMessageBox asynchronous.
2013-09-23 14:29:55 +08:00
Cheng Zhao
b70722feb6
mac: Implement async ShowMessageBox.
2013-09-22 18:47:00 +08:00
Cheng Zhao
bfe59480e3
Add header for asynchronous version of ShowMessageBox.
2013-09-22 17:11:09 +08:00
Cheng Zhao
761b9d22c8
Do not reply sync messages when window is closed.
2013-09-22 10:44:18 +08:00
Cheng Zhao
1e4762ce92
Do not store the event.returnValue.
2013-09-22 10:03:47 +08:00
Cheng Zhao
d443b36446
Send reply for sync messages when event.returnValue is set.
2013-09-22 09:52:58 +08:00
Cheng Zhao
ef4b36d621
Use string16 instead of std::string when sending IPC messages.
...
The underlying V8::String is represented in UTF18, by using string16 in
IPC messages we can avoid the overhead of encode conversion.
2013-09-20 22:55:42 +08:00
Cheng Zhao
ef5a4b5fe0
Pass synchronous messages by JSON string.
...
We are going to use IPC_MESSAGE_HANDLER_DELAY_REPLY to handle
synchronous messages but DictionaryValue is not copyable, so we pass the
JSON string instead.
2013-09-20 22:32:59 +08:00
Cheng Zhao
07b5039c64
Make sure all sync messages get a return value.
2013-09-20 21:39:07 +08:00
Cheng Zhao
a9c824eba1
Use event.returnValue instead of event.result in atom-shell's code.
...
event.result is still kept for backward compatible.
2013-09-20 21:37:47 +08:00
Cheng Zhao
2be1145a9e
Guard against using protocol module too early.
2013-09-20 18:45:53 +08:00
Cheng Zhao
92e157de30
Fix crash when using protocol module on startup.
...
The job factory was not created before any request was sent, so when the
app used the protocol module on startup it would cause a crash.
2013-09-20 18:32:05 +08:00
Cheng Zhao
3f357f184d
Use custom url request getter to setup request job factory.
2013-09-20 16:47:47 +08:00
Cheng Zhao
3fdec5c6e3
win: Implement ShowOpenDialog.
2013-09-19 22:28:18 +08:00
Cheng Zhao
6fced224c7
win: Open dialog and save dialog can have different options.
2013-09-18 22:27:40 +08:00
Cheng Zhao
9ed64548d4
💄 Fix comparing extension.
2013-09-18 22:24:46 +08:00
Cheng Zhao
575fe06f29
win: Append extension to save dialog's result according to the selected filter.
2013-09-18 22:21:28 +08:00
Cheng Zhao
6cb2ece285
win: Make common part of ShowSaveDialog a independet class.
2013-09-18 21:42:14 +08:00
Cheng Zhao
29e071a1ad
win: Rewrite ShowSaveDialog with IFileSaveDialog.
2013-09-18 20:28:56 +08:00
Cheng Zhao
9e9579a858
Remove dialog hack for Windows XP.
2013-09-18 16:19:32 +08:00
Steve Smith
a2c3690592
Merge pull request #91 from atom/rounded-corner
...
Round whole frame in Frameless mode
2013-09-12 08:43:30 -07:00
Steve Smith
7a21ae831f
Skip the whole AtomFramelessWindow.
...
Just round the web view and set the bounds to the window, not the main
view.
2013-09-12 11:20:38 -04:00
Cheng Zhao
ef92cd8b45
mac: Makes sure MainMenu.nib is alwasys loaded from Atom.framework.
2013-09-12 17:16:33 +08:00
Cheng Zhao
7a1365673e
Remove code which are used for borderless window.
2013-09-12 15:13:56 +08:00
Cheng Zhao
6c098deb57
💄 Fix cpplint warnings.
2013-09-12 13:03:57 +08:00
Steve Smith
cf4a566290
Just round the top also and use a standard window.
...
Using borderless window causes too many issues. Smaller, less
window-like shadows being the most annoying.
2013-09-11 22:02:42 -04:00
Steve Smith
aabba3c641
Fix view autoresizing.
2013-09-11 17:25:42 -04:00
Steve Smith
8f31bf8615
Get radius working with frameless window.
...
Right now it's set as a constant `AtomWindowCornerRadius`, but it could
be set to a variable.
2013-09-11 16:23:17 -04:00
Cheng Zhao
5d49fc4bee
WIP: rounded corner of frameless window.
2013-09-11 18:10:28 +08:00
Cheng Zhao
f38eb1b66f
mac: Import chromium's CustomFrameView code.
2013-09-11 13:46:36 +08:00
Cheng Zhao
a567ba08ea
Hide the fullscreen button when leaving fullscreen mode. Fixes #88 .
2013-09-11 13:05:08 +08:00
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
Cheng Zhao
6193a889ff
[Win] Use the modified Menu2 class.
2013-08-17 16:45:21 +08:00
Cheng Zhao
ee10c469c8
[Win] Ship with Chromium's menu library.
...
I will hack it.
2013-08-17 16:42:12 +08:00
Cheng Zhao
91a9fe41c9
[Win] Fix compilation error.
2013-08-16 16:33:32 +08:00
Cheng Zhao
a949e9542d
Add AtomWindow.isWebViewFocused() API, fixes #57 .
2013-08-16 12:56:25 +08:00
Cheng Zhao
a33c068ed1
Should inherit brightray's default web contents delegate, fixes #31 .
2013-08-16 10:38:02 +08:00
Cheng Zhao
fc3bad0d4f
💄
2013-08-15 17:50:30 +08:00
Cheng Zhao
c700d291e5
Don't overwrite existing fields when build menu from template.
2013-08-15 16:11:25 +08:00
Cheng Zhao
63b85bccab
[Mac] Clean up the menu controller.
2013-08-14 23:03:02 +08:00
Cheng Zhao
f908619630
[Mac] Move the FixMenuTitles hack to MenuController.
2013-08-14 22:33:18 +08:00
Cheng Zhao
22012d41d8
[Mac] Ship the MenuController implementation from Chromium.
2013-08-14 22:24:21 +08:00
Cheng Zhao
ee2c696577
Make sure all MenuItem's options have a default value.
2013-08-14 21:59:49 +08:00
Cheng Zhao
2fd91e8c96
Enable passing objects and arrays when calling remote function.
2013-08-14 21:51:51 +08:00
Cheng Zhao
971b72c2b6
When calling menu item's click callback, pass the item object.
2013-08-14 12:51:47 +08:00
Cheng Zhao
d4a148ea52
The Menu object should store items by its index.
2013-08-14 12:03:37 +08:00
Cheng Zhao
c6f18f095e
Enable to attach extra fields to menu items.
2013-08-14 11:07:44 +08:00
Cheng Zhao
f4425afb39
Move accelerator_util to browser/ui.
2013-08-13 17:07:25 +08:00