Cheng Zhao
6ccec45c61
views: Fix activating lower case accelerators.
2014-08-18 16:05:41 +08:00
Cheng Zhao
1dabd20d99
win: Underline's color tends to be a little lighter.
2014-08-18 15:41:57 +08:00
Cheng Zhao
fedb08899c
views: Fix calculating underline's position.
2014-08-18 15:36:29 +08:00
Cheng Zhao
b8bfe8a9ad
views: Always hide accelerator when submenu is activated.
2014-08-18 14:58:52 +08:00
Cheng Zhao
a230daa998
views: Pressing "Alt+Key" should bring up the menu bar.
2014-08-18 14:52:44 +08:00
Cheng Zhao
ba41634ad6
views: Show menubar's submenu when "Alt+Key" is pressed.
2014-08-18 14:42:21 +08:00
Cheng Zhao
e9536508a5
views: Show menubar's accelerator when "Alt" is pressed.
2014-08-18 14:12:12 +08:00
Cheng Zhao
965f2b1b6b
views: Draw underline in menu bar for accelerators.
2014-08-18 13:36:00 +08:00
Cheng Zhao
e25417ab31
linux: Use "fg" of GtkStyle as text color, fixes #555 .
2014-08-18 10:29:21 +08:00
Cheng Zhao
8a9e1824c3
views: Add support for auto-hide menubar.
2014-08-07 13:47:58 +08:00
Cheng Zhao
fe9f94555b
win: Implement the filters option.
2014-08-06 21:51:36 +08:00
Cheng Zhao
5ba324ca9a
gtk: Implement the filters option.
2014-08-06 14:49:02 +08:00
Cheng Zhao
0721b34847
mac: Implement the filters option.
2014-08-06 13:58:42 +08:00
Cheng Zhao
dc257f1f86
Add "filters" parameter for file dialogs.
2014-08-06 13:58:42 +08:00
Cheng Zhao
009e0790fe
linux: Draw menubar text and background with native theme, fixes #540 .
2014-08-05 18:05:34 +08:00
Cheng Zhao
5086873f78
mac: Guard against closed window, fixes #536 .
2014-07-31 10:33:45 +08:00
Cheng Zhao
1c415b0666
win: No more need to convert to DIP point for context menu.
2014-07-28 20:44:11 +08:00
Cheng Zhao
8dd7f81175
Fix building on Windows.
2014-07-28 20:32:10 +08:00
Cheng Zhao
10c52bd6a6
Fix building on Linux.
2014-07-28 20:28:53 +08:00
Cheng Zhao
7a89a08534
Update to new Chromium APIs.
2014-07-28 20:28:49 +08:00
Yeechan Lu
472a95e433
win: Fix tray context menu in high DPI mode
2014-07-27 15:50:04 +08:00
Cheng Zhao
b9fc5474c5
win: Use system's menu bar color.
2014-07-25 15:20:25 +08:00
Cheng Zhao
92a0a4cf6c
views: Filter out the "&" in window menu.
2014-07-25 14:53:19 +08:00
Cheng Zhao
77627c0d2d
linux: Use native frame for message box.
2014-07-24 21:06:33 +08:00
Cheng Zhao
c91f0c575c
linux: Remove custom frame code.
2014-07-24 21:03:17 +08:00
Cheng Zhao
e4484f0c3e
win: Fix parent window of dialogs.
2014-07-21 22:13:46 +08:00
Cheng Zhao
e6998dfd4b
linux: Fix compilation error caused by X header.
2014-07-21 13:48:23 +00:00
Cheng Zhao
21949e2f0c
views: Don't retain MenuRunner on heap.
...
Sometimes the MenuHost would crash when the window is closed, the author
didn't recommend using MenuRunner on stack, but since we always run the
menu synchronously, this is no problem.
2014-07-21 21:42:01 +08:00
Cheng Zhao
ffad6fe884
win: Fix compilation error.
2014-07-21 20:45:31 +08:00
Cheng Zhao
365638f1d5
win: Remove dead menu code.
2014-07-21 11:23:01 +08:00
Cheng Zhao
9c9e0d92f4
Fix cpplint warnings.
2014-07-18 09:17:17 +08:00
Cheng Zhao
0f18d63f7f
views: Implement the window menu bar.
2014-07-17 14:23:28 +08:00
Cheng Zhao
2ee7caccfe
views: Add an empty menu bar.
2014-07-16 22:12:57 +08:00
Cheng Zhao
2a2fc4903d
linux: Share code on frameless window with Windows.
2014-07-16 16:00:08 +08:00
Cheng Zhao
8f94d5886d
win: Min/max size uses scaled DPI size.
2014-07-16 15:40:22 +08:00
Cheng Zhao
6de595f036
win: Implement frameless window.
2014-07-16 15:33:40 +08:00
Cheng Zhao
00467b53c7
linux: Fix modal message box.
2014-07-14 16:34:22 +08:00
Cheng Zhao
7c8a0ae2a3
win: Fix black ground when closing message box.
2014-07-13 09:50:16 +08:00
Cheng Zhao
add45b564e
win: Improve window frames.
2014-07-12 21:03:34 +08:00
Cheng Zhao
643a47cf7d
win: Use native frame for browser windows.
2014-07-12 11:36:08 +08:00
Cheng Zhao
b2afe7b3bf
win: Fix notify icon and context menu.
2014-07-11 19:42:53 +08:00
Cheng Zhao
8d4211bd3a
win: Fix compilation errors for chrome35.
2014-07-11 12:19:01 +08:00
Cheng Zhao
497174bbe4
linux: Avoid using unsigned long directly.
2014-07-11 09:18:06 +08:00
Cheng Zhao
1c62211d99
linux: No need to remember root item in menubar.
2014-07-11 09:09:23 +08:00
Cheng Zhao
7e86e53593
linux: Add support for unity global menubar.
2014-07-11 08:57:19 +08:00
Cheng Zhao
3349b8e6c7
linux: Remove all the X and GTK+ related implementations.
...
Now we only uses GTK+ for app indicator and status icon, also notice the
in Chrome35 the Gtk2StatusIcon class doesn't exist yet so we shipp
related files under chromium_src, remember to delete them after upgraded
to Chrome36.
2014-07-10 13:06:41 +08:00
Cheng Zhao
4e4227aef8
views: Implement focus and blur event.
2014-07-08 12:55:33 +08:00
Cheng Zhao
3d36a6a793
views: Make resizable frameless window work.
2014-07-07 22:40:26 +08:00
Cheng Zhao
a5e2ea2899
views: Make frameless window work.
2014-07-07 22:40:23 +08:00
Cheng Zhao
e7feafb2cc
views: Use our own CustomFrameView implementation.
2014-07-07 15:35:16 +08:00
Cheng Zhao
4609a8d2be
linux: Fix setting parent window for file dialogs.
2014-07-05 00:00:54 +08:00
Cheng Zhao
0a38f3321e
views: Currently set window's frames.
2014-07-04 12:32:03 +08:00
Cheng Zhao
61db17412c
Use views to implement NativeWindow and MessageBox on Linux.
2014-07-04 01:30:36 +08:00
Cheng Zhao
84878c4c77
Initial work for Aura on Linux.
2014-07-02 22:49:45 +08:00
Cheng Zhao
64bf1bcb9f
Move all chromium's code under chromium_src.
2014-06-29 06:06:35 +00:00
Cheng Zhao
1f99a97544
gtk: Fix lack of x11_util implementations.
2014-06-29 05:31:11 +00:00
Cheng Zhao
f4b6ca70a9
gtk: Import chromium's ActiveWindowWatcherX.
2014-06-29 04:05:29 +00:00
Cheng Zhao
436deddf68
Fix compilation errors on Linux.
2014-06-29 01:51:02 +00:00
Cheng Zhao
cd4c5d976b
Adapt to API changes of Chromium and node.
2014-06-28 22:33:00 +08:00
Cheng Zhao
72d6778894
gtk: Make AppIndicator.SetContextMenu async, fixes #430 .
2014-06-26 12:09:07 +08:00
Cheng Zhao
32c881bde9
gtk: Make BrowserWindow::HasModalDialog work.
...
Fixes atom/atom#2658 .
2014-06-24 21:52:06 +08:00
Cheng Zhao
6cac69238c
mac: Convert from ImageSkia to NSImage to reserve DPI info.
2014-06-23 12:59:10 +08:00
Kevin Sawicki
edc043c924
Make escape to ui::VKEY_ESCAPE
2014-06-17 14:47:35 -07:00
Cheng Zhao
2cdcb45d16
Support INSERT in accelerator, fixes #398 .
2014-06-14 22:25:21 +08:00
Cheng Zhao
53092cfb7c
win: Fix context menu clicking in notify icon.
2014-06-03 14:11:12 +08:00
Cheng Zhao
9ef7ecbdaf
Win: Implement context menu for tray icon.
2014-06-03 11:52:57 +08:00
Cheng Zhao
1cb135f7f2
win: Implement tray icon API.
2014-06-03 11:25:09 +08:00
Cheng Zhao
540e6ff01b
gtk: Implement click event for status icon.
2014-06-02 23:10:36 +08:00
Cheng Zhao
4647efd22f
💄 Fix cpplint warning.
2014-06-02 11:47:37 +08:00
Cheng Zhao
da31588e0d
mac: Implement the "click" event of TrayIcon.
2014-06-02 11:28:23 +08:00
Cheng Zhao
cbd9366898
Add "click" event for TrayIcon.
2014-06-02 11:08:29 +08:00
Cheng Zhao
9699dbb71f
gtk: Add app indicator support as tray icon.
2014-06-01 10:20:06 +08:00
Cheng Zhao
065185baea
gtk: Add TrayIcon implementation for GtkStatusIcon.
2014-05-31 10:27:07 +08:00
Cheng Zhao
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00
Cheng Zhao
6f5184f001
mac: Simple implementation of tray icon.
2014-05-30 14:37:53 +08:00
Cheng Zhao
80fb79daac
Add dummy implementations for TrayIcon.
2014-05-30 10:31:27 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
b6ac06c022
Order header files.
2014-03-16 09:37:04 +08:00
Cheng Zhao
2d808d30a2
Bring back build/include_order cpplint.
2014-03-16 09:13:06 +08:00
Cheng Zhao
bbef33a33a
Bring back build/header_guard cpplint.
2014-03-16 08:58:59 +08:00
Cheng Zhao
68cb6ee861
Move atom/browser/ui/gtk to chrome/.
2014-03-16 08:39:43 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00