Haojian Wu
c01a79de6b
Fix the wrong reverse pageup
and pagedown
keys.
2015-07-01 21:24:51 +08:00
Cheng Zhao
03ab9b2686
Merge pull request #1848 from Bitbored/master
...
Added `bounds` payload to tray `clicked` event on Windows
2015-06-09 10:49:01 +08:00
Seppe Stas
cac97cca0d
Initialized rect with zeros
...
As per @zcbenz 's remark: The rect should be initialized with zeros to prevent random values being passed to the click event handler when `Shell_NotifyIconGetRect` fails.
2015-06-08 19:07:46 +02:00
Seppe Stas
16c08e7e37
Switched to gfx::Rect
constructor that takes a RECT
...
As per @zcbenz's suggestion the rect passed to the click event handler now passes a rect constructed using `gfx::Rect(const RECT& r)`.
2015-06-08 19:04:56 +02:00
Haojian Wu
da83ba6c06
Fix dialog.showSaveDialog doesn't show the non-exist file name on Linux.
2015-06-04 14:16:53 +08:00
Seppe Stas
e5c4e34ac4
Ow 💩 , where did that extra space come from?
2015-06-03 07:54:38 +02:00
Seppe Stas
ce8aa073ee
Added bounds
payload to tray clicked
event
...
Used [Shell_NotifyIconGetRect function](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378426 ) to get the bounds of the application's tray icon.
Note: only works with Windows 7 and later.
Related to #1159 , #1500 .
2015-06-02 21:43:37 +02:00
Cheng Zhao
f31bfab127
gtk: Notify the click event
2015-05-21 15:22:52 +08:00
Cheng Zhao
1571c3537d
Merge pull request #1601 from hokein/fix-out-of-bound
...
Fix a potential out-of-bound issue in Accelerator.
2015-05-10 21:04:45 +08:00
Cheng Zhao
ce042d0524
mac: Don't use [NSScreen mainScreen]
2015-05-10 16:51:18 +08:00
Haojian Wu
2b82e523bf
Fix a potential out-of-bound issue in Accelerator.
2015-05-07 15:46:38 +08:00
Cheng Zhao
9d54092f41
Merge pull request #1512 from hokein/add-win-key
...
Add `Super` key support in global-shortcut API.
2015-05-07 10:35:56 +08:00
Haojian Wu
0f67b1866a
Add Super
key support in global-shortcut API.
2015-05-05 22:49:32 +08:00
Cheng Zhao
f5cf3556b1
Pass bounds in clicked event of tray
2015-05-04 11:43:22 +08:00
Cheng Zhao
a53b1f7edf
win: Mouse position is not notify icon's position
2015-05-04 11:37:23 +08:00
deepak1556
6d7d068e49
tray: send tray icon position as payload onclick OSX
2015-05-01 19:30:01 +05:30
Cheng Zhao
c7468278df
Change the window class names
2015-04-14 16:18:57 +08:00
Cheng Zhao
5b2c0110dc
Fix other compilation errors
2015-03-18 09:57:41 +08:00
Cheng Zhao
819ab5cd0c
Fix ui/gfx/geometry headers
2015-03-18 09:57:38 +08:00
Cheng Zhao
443a4b8f2f
mac: Use AsNSImage instead of ToNSImage
...
It can get rid of the empty check.
2015-02-12 12:29:49 +08:00
Cheng Zhao
f0924df68a
Add "type" option to change window type
2015-02-11 12:19:39 +08:00
Cheng Zhao
0087f8da27
linux: Fix building for Chrome 40
2015-01-27 17:20:50 -08:00
Cheng Zhao
750db6aed8
base/file_util.h has been moved to base/files/file_util.h
2015-01-27 13:18:30 -08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
33b6876cc1
Add support for Plus
as accelerator key, fixes #1050
2015-01-23 15:26:54 -08:00
Cheng Zhao
708e738521
views: Fix showing icon in message dialog
2015-01-05 15:26:35 -08:00
Cheng Zhao
8457090b18
Add "icon" option for message box
2015-01-05 15:08:42 -08:00
Cheng Zhao
bf14f67cb8
win: Fix building
2015-01-02 19:31:19 -08:00
Cheng Zhao
ef7a60807b
linux: Fix building
2015-01-02 19:26:17 -08:00
Cheng Zhao
ab83b21fa6
Use gfx::Image instead of gfx::ImageSkia in API
...
The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.
2015-01-02 18:43:56 -08:00
Cheng Zhao
63e83a7ef8
win: Don't hang when failed to create thread
2014-12-16 12:33:17 -08:00
Cheng Zhao
c20e1e9d82
win: Run async save dialog in new thread
2014-12-16 12:27:26 -08:00
Cheng Zhao
253bacdf1d
win: Run async open dialog in new thread
2014-12-16 11:27:38 -08:00
Cheng Zhao
0ab32bfe17
win: Reserve border space for maximized frameless window
...
Fixes #732 .
2014-12-15 16:01:11 -08:00
Cheng Zhao
e3ccb18696
win: Fix calculating window bounds on high DPI display
2014-12-12 09:04:43 -08:00
Cheng Zhao
409f2b4d0f
win: Fix compilation errors
2014-12-10 14:17:07 -08:00
Cheng Zhao
1853bef39a
views: SizeConstraintsChanged has become required
2014-12-09 16:55:01 -08:00
Cheng Zhao
22c4911b58
linux: GTK+ status icon has come back
2014-12-09 16:55:01 -08:00
Cheng Zhao
9f99209733
win: Add "balloon-show" and "balloon-closed" events
2014-11-28 19:42:57 +08:00
Cheng Zhao
a3327ac53e
win: Remove XP code in Tray
2014-11-28 18:59:51 +08:00
Cheng Zhao
210c97f957
win: Add "balloon-clicked" event for Tray
2014-11-28 18:50:31 +08:00
Cheng Zhao
2650e34867
win: Add NotifyIcon::DisplayBalloon
2014-11-28 18:30:43 +08:00
Cheng Zhao
9f0b5a14a4
Remove tray_icon_win.h
2014-11-28 18:21:31 +08:00
Cheng Zhao
a8b4e5faec
OVERRIDE => override in notify_icon.h
2014-11-28 18:20:38 +08:00
Cheng Zhao
89de5b6e9a
win: Remove NotifyIconHostStateChanger
...
We don't need the ability it provided, and it is causing crashes on some
machines.
Fixes #850 .
2014-11-28 17:47:47 +08:00
Cheng Zhao
588cc3c7ab
Make WindowStateWatcher X11 only
...
On Windows we need to take another way of detecting window state events.
2014-11-25 13:05:04 +08:00
Cheng Zhao
b77e6c369a
x11: Implement window state events
2014-11-25 12:43:25 +08:00
Cheng Zhao
06cc27c6b3
views: Add WindowStateWatcher
2014-11-25 11:46:30 +08:00
Cheng Zhao
0e94977d42
Add app.dock.setMenu API
2014-11-16 23:04:31 +08:00
Cheng Zhao
af72842728
cocoa: Enable creating empty menu
2014-11-16 21:06:16 +08:00