mikeykhalil
94ffd4bfc0
add getter for ignoreDoubleClickEvents field
2018-05-03 13:49:33 -07:00
mikeykhalil
1f29124d11
updated Tray API to ignore double click events on macOS ( #8952 )
2018-05-03 13:49:32 -07:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
Cheng Zhao
4342480473
Fix cpplint warnings
2017-10-05 11:49:26 +09:00
Sean Bannigan
0b205019b6
add mouse-move event and click event position for tray
2017-10-05 11:41:08 +09:00
Kevin Sawicki
70544440f9
Add location and keyboard modifiers to tray mouse events
2017-06-28 12:10:24 -07:00
Shubham
8dbb8ccbab
add mouse-enter and mouse-exit events for tray
2017-06-14 18:00:29 -04:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
Cheng Zhao
1505a46ed0
Do not rely on Constructor to call Init
...
This makes it deterministic when the JavaScript is initialized, which
can make our logic more clear.
2016-08-02 15:15:40 +09:00
Kevin Sawicki
b2f9cce297
Add option to always highlight the tray icon
2016-07-26 13:51:43 -07:00
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06:00
Wilson Page
90f8a7e828
Add support for dropped text in osx
2016-07-14 18:25:58 +01:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
e6327fb015
Add EventEmitter::CreateEventFromFlags
2016-06-22 11:00:45 +09:00
Cheng Zhao
db98e256f2
mac: Add tray.getBounds() API
2016-06-21 15:40:30 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
Cheng Zhao
3182485e68
No need to reference the icon in Tray
2016-05-20 22:44:02 +09:00
Cheng Zhao
67d9ae27c3
Remove the JavaScript wrapper for setContextMenu
2016-05-20 16:18:38 +09:00
Cheng Zhao
adfd99f5f0
Convert to mate::Handle<NativeImage> instead of gfx::Image
2016-05-20 16:14:40 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Cheng Zhao
6795bd1d96
Do not manually manage native resources
...
We should rely on the destructor to cleanup everything, instead of
putting them in the Destroy method.
2015-12-03 15:38:43 +08:00
Nishanth Shanmugham
d1e8e71e3f
Tray: Add drag-end and drop events
2015-11-10 10:02:50 -06:00
Nishanth Shanmugham
818892d474
Tray: Add drag-entered and drag-exited events
2015-11-05 18:46:49 -06:00
Cheng Zhao
d56b34de3b
Make sure all native resources get freed on exit
2015-11-04 18:21:03 +08:00
Cheng Zhao
33eadad139
popContextMenu => popUpContextMenu
2015-08-10 13:00:15 +08:00
Cheng Zhao
8d22eeb3be
Use DOM's way of telling modifiers
2015-07-29 14:25:12 +08:00
Nishanth Shanmugham
74b4522195
Add keyboard modifiers payload to tray click events
...
* Add keyboard and mouse button bitsum to Tray click events payload
* Move getBoundsFromRect: to common event_util file
* Update documentation
2015-07-27 03:15:51 -07:00
Nishanth Shanmugham
f53995d555
Send bounding Rect on tray double click events
2015-07-25 20:56:35 -07:00
Haojian Wu
d342c9a6df
Implement 'drop-files' tray event on OS X.
2015-07-20 20:06:15 +08:00
Haojian Wu
ed4c69343f
Add 'tray.popContextMenu()' Windows implementation.
2015-07-16 11:42:43 +08:00
Haojian Wu
4421fbf9f3
Implement 'tray.popContextMenu' API on OS X.
2015-07-16 10:50:53 +08:00
Haojian Wu
cca4f4abd5
Implement 'right-clicked' tray event on OS X.
2015-07-15 19:32:00 +08:00
Cheng Zhao
1569dfa2e8
Remove manual lifetime check for Tray
2015-07-06 18:24:40 +08:00
Cheng Zhao
132c13a11b
Fix calls to deprecated node::ThrowError API
2015-06-10 14:21:09 +08:00
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
f5cf3556b1
Pass bounds in clicked event of tray
2015-05-04 11:43:22 +08:00
deepak1556
6d7d068e49
tray: send tray icon position as payload onclick OSX
2015-05-01 19:30:01 +05:30
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
9f99209733
win: Add "balloon-show" and "balloon-closed" events
2014-11-28 19:42:57 +08:00
Cheng Zhao
210c97f957
win: Add "balloon-clicked" event for Tray
2014-11-28 18:50:31 +08:00
Cheng Zhao
8097cb2b9e
Add Tray.displayBallon API
2014-11-28 18:39:30 +08:00
Cheng Zhao
f6c66a7374
Add Tray.destroy() API, fixes #871
2014-11-28 18:06:51 +08:00
Cheng Zhao
86cf5e0028
OVERRIDE => override in atom_api_tray.h
2014-11-28 17:54:38 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
67cbecaba0
mac: Add "double-clicked" event for Tray.
2014-09-09 19:45:21 +08:00
Cheng Zhao
ec1db0c7bb
mac: Add Tray.setHighlightMode API, fixes #425 .
2014-09-09 19:39:39 +08:00
Cheng Zhao
4330d67e0d
mac: Add Tray.setTitle API, fixes #560 .
2014-09-09 19:36:15 +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
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00