Cheng Zhao
9ac555c302
move atom_menu_controller_mac to browser/ui/cocoa.
2014-01-16 10:22:33 +08:00
Cheng Zhao
43711083f7
Move atom_event_processing_window to browser/ui/cocoa.
2014-01-16 10:09:36 +08:00
Cheng Zhao
9b07c2b894
Move nsalert_synchronous_sheet_mac to browser/ui/cocoa.
2014-01-16 10:06:05 +08:00
Cheng Zhao
0215c2fbee
Make all the windows code compile for Chrome 31.
2013-12-17 17:52:57 +08:00
Cheng Zhao
2413eebd7b
Disable accelerated compositing to fix everything.
2013-12-13 00:57:08 +08:00
Cheng Zhao
1c0b391419
Fix the black devtools view.
...
Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.
2013-12-12 15:49:08 +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
4ec4b01218
base/string16.h was moved to base/strings/string16.h.
2013-12-10 14:14:05 +08:00
Cheng Zhao
7d5826df85
Add "Cmd" and "Control" alias for "Command" and "Ctrl".
2013-11-29 16:31:38 +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
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
585777e62d
Allow single-character accelerators.
2013-10-22 09:38:19 +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
32432cc770
Convert "Command" to "Ctrl" in accelerators on non-Mac.
2013-10-04 23:01:29 +08:00
Cheng Zhao
a2f679e4bd
win: Respond to events of window menu.
2013-10-03 23:34:42 +08:00
Cheng Zhao
cf75e4ac49
Move atom_event_processing_window to browser/ui.
2013-09-25 16:51:55 +08:00
Cheng Zhao
eed8f6cabc
Remove the CustomFrameView, it's no longer needed.
2013-09-25 15:40:22 +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
c7637c78d1
mac: Add asynchronous ShowSaveDialog.
2013-09-23 20:08:32 +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
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
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
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
Cheng Zhao
f38eb1b66f
mac: Import chromium's CustomFrameView code.
2013-09-11 13:46:36 +08: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
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