Cheng Zhao
|
0694334487
|
Merge pull request #10271 from kaylanm/macos-native-tab-menu-items
🍎 Add roles for macOS native tab menu items
|
2017-09-11 17:41:31 +09:00 |
|
Samuel Attard
|
6b010614e2
|
Implement moveToApplicationsFolder (#10142)
* Implement moveToApplicationsFolder
* Fix tabs / spaces
* Fix linting
* Use Browser::Quit, instead of exit
* Update documentation as per feedback
* Fix spec
|
2017-08-31 10:37:12 -04:00 |
|
Michael Kaylan
|
7741a0e6ad
|
🍎 Add roles for macOS native tab menu items
Fixes #9086, #10064.
|
2017-08-15 11:30:39 -04:00 |
|
Samuel Attard
|
718dc732ad
|
Add docs and add isSelected arg
|
2017-05-03 20:25:50 +10:00 |
|
Samuel Attard
|
225ccab3d2
|
Add mode prop to segmented touch bar control
|
2017-04-28 14:50:58 +10:00 |
|
Kevin Sawicki
|
c32a723e29
|
Only read iconPosition when icon is present
|
2017-04-18 08:58:54 -07:00 |
|
Samuel Attard
|
526d287d25
|
Make iconPosition non-breaking by defaulting to overlay
|
2017-04-18 08:56:39 -07:00 |
|
Samuel Attard
|
11c7c107a9
|
add iconPosition property to touch bar buttons
|
2017-04-18 08:56:39 -07:00 |
|
Kevin Sawicki
|
6a22c6645e
|
Guard against missing popover identifier
|
2017-04-04 13:51:39 -07:00 |
|
Kevin Sawicki
|
9c73c991d7
|
Use const references for params
|
2017-04-04 13:51:39 -07:00 |
|
Samuel Attard
|
bea56bbdc8
|
Update as per feedback
|
2017-04-04 13:51:38 -07:00 |
|
Samuel Attard
|
2fd62d090a
|
Allow items to be assigned to multiple popovers
|
2017-04-04 13:51:33 -07:00 |
|
Samuel Attard
|
f05dfc74da
|
Store parent popover in popover touch bar items
|
2017-04-04 13:51:13 -07:00 |
|
Kevin Sawicki
|
df0f468dea
|
Add escapeKeyReplacementItemIdentifier forward declaration
|
2017-04-04 12:50:41 -07:00 |
|
Samuel Attard
|
60cc862031
|
Make everything pointer like
|
2017-04-04 12:50:41 -07:00 |
|
Samuel Attard
|
4d6b0fc01b
|
Add a method to set the escape identifier on the touch bar
|
2017-04-04 12:50:41 -07:00 |
|
Haojian Wu
|
ff745e1a82
|
Use prefix increment in for loops.
|
2017-03-30 22:56:21 +02:00 |
|
Haojian Wu
|
8d8c7ce6ad
|
Correct type cast.
|
2017-03-30 22:53:20 +02:00 |
|
Haojian Wu
|
d425b63b0d
|
NULL => nullptr
|
2017-03-30 22:12:14 +02:00 |
|
Haojian Wu
|
00693ba075
|
Replace "size()" with "empty()".
|
2017-03-30 21:59:18 +02:00 |
|
Kevin Sawicki
|
e98ac94d51
|
🎨
|
2017-03-15 11:22:31 -07:00 |
|
Kevin Sawicki
|
f41db87e47
|
Use NSZeroRect for scrubber frame
|
2017-03-15 09:45:50 -07:00 |
|
Kevin Sawicki
|
466c39ed19
|
Use icon for consistency with other touch bar APIs
|
2017-03-15 09:33:11 -07:00 |
|
Kevin Sawicki
|
6175ee05e2
|
Remove unneeded long cast
|
2017-03-14 13:59:29 -07:00 |
|
Kevin Sawicki
|
8b7675baee
|
Add more forward declarations for scrubber APIs
|
2017-03-14 13:57:39 -07:00 |
|
Samuel Attard
|
a55cddaa53
|
Add more options
|
2017-03-14 18:57:57 +11:00 |
|
Kevin Sawicki
|
268dd1a6c2
|
Remove unneeded include
|
2017-03-13 11:15:36 -07:00 |
|
Kevin Sawicki
|
e52ece1a1e
|
Implement NSScrubberDataSource in AtomTouchBar
|
2017-03-13 11:06:41 -07:00 |
|
Kevin Sawicki
|
4f31a5c452
|
Fix duplicate protocol method declaration
|
2017-03-13 10:39:42 -07:00 |
|
Kevin Sawicki
|
d7f458d232
|
Add protocol methods
|
2017-03-13 10:31:51 -07:00 |
|
Kevin Sawicki
|
2fe21ecdd0
|
🎨
|
2017-03-13 10:28:30 -07:00 |
|
Kevin Sawicki
|
37c9d76cd5
|
Take const references
|
2017-03-13 10:25:30 -07:00 |
|
Kevin Sawicki
|
634bd7b17f
|
Add NSScrubber forward declarations
|
2017-03-13 10:07:48 -07:00 |
|
Samuel Attard
|
a85ae27d68
|
Fix linting
|
2017-03-13 11:00:10 +11:00 |
|
Samuel Attard
|
25a231fc50
|
Initial NSScrubber implementation
|
2017-03-13 10:51:12 +11:00 |
|
Kevin Sawicki
|
5b1d5b39a2
|
Set automatic via else block
|
2017-03-10 10:11:56 -08:00 |
|
Kevin Sawicki
|
3349e32196
|
Verify selectedIndex to prevent NSRangeException
|
2017-03-10 10:09:18 -08:00 |
|
Kevin Sawicki
|
458e4be77c
|
Add forward declaration for 10.12 API
|
2017-03-10 09:53:47 -08:00 |
|
Samuel Attard
|
1c027c526b
|
Add segmented control implementation
|
2017-03-10 17:40:39 +11:00 |
|
Kevin Sawicki
|
4d6c779839
|
identList -> identifiers
|
2017-03-03 15:28:32 -08:00 |
|
Kevin Sawicki
|
b879872317
|
Always set properties in update calls
|
2017-03-03 15:24:32 -08:00 |
|
Kevin Sawicki
|
2680ee9f8f
|
Add support for setting TouchBarLabel text color
|
2017-03-03 15:14:51 -08:00 |
|
Kevin Sawicki
|
002369576f
|
Add initial touch bar docs
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
ce12dcd3b4
|
Add live popover icon property
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
a34f9d3583
|
Support icon property to match MenuItem
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
506b42b563
|
🎨
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
ecc0478e3c
|
Match Popover casing in macOS APIs
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
d1edd80ef8
|
Use NSTouchBar itemForIdentifier to lookup existing item
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
93bbe8e70b
|
Use device NS colors consistently
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
70d61869a5
|
Use array to create empty NSMutableArray
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
708ed9d1cd
|
Store ordered settings in AtomTouchBar
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
5f9e9d4b36
|
Add move live updating properties
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
61aa9bbff4
|
Add support for spacer items
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
f153d08297
|
Support setting the initial/available colors
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
347d472841
|
Remove unused clear method
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
b959f782f6
|
Rename instance variable maps
|
2017-03-03 14:00:39 -08:00 |
|
Kevin Sawicki
|
ec500b2852
|
Use scoped_nsobject to match Chrome implementation
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
98f5858b11
|
Initial support for dynamic properties
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
cbb6f8c33e
|
Store event listeners in each TouchBar class
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
14ef5c5957
|
Reset helper when makeTouchBar is called
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
ca29ec0101
|
Use reference
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
f297ba987e
|
touchBarFromMutatableArray -> touchBarFromItemIdentifiers
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
b30f7c3c94
|
Use std::string ctor
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
8500538793
|
Use base::SysUTF8ToNSString helper
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
cf7cd1f32b
|
hasTBDict -> hasItemWithID
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
b632cdd37d
|
Extract helper class to encapsulate touch bar items
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
69638a399c
|
Make touchBar readwrite/nullable
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
52905ae9b3
|
Get compiling against 10.10 SDK
|
2017-03-03 14:00:38 -08:00 |
|
Kevin Sawicki
|
211bedf910
|
Invoke close callback after itemSelected runs
|
2017-02-22 11:47:58 -08:00 |
|
Kevin Sawicki
|
6a023dc4fe
|
Add Menu.closePopup API on macOS
|
2017-02-22 10:30:28 -08:00 |
|
Cheng Zhao
|
7a7b72ce04
|
SimpleMenuModel::MenuClosed renamed to MenuWillClose
|
2017-02-06 10:34:28 -08:00 |
|
Kevin Sawicki
|
bcc372568f
|
Add zoom menu item roles
|
2016-08-08 11:09:30 -07:00 |
|
Milan Burda
|
edc1a9614c
|
Add macOS specific speaking roles for MenuItem
|
2016-08-08 00:02:32 +02:00 |
|
Cheng Zhao
|
6381f44f26
|
mac: Pass useDefaultAccelerator to getAcceleratorForCommandId
|
2016-07-07 11:50:19 -07:00 |
|
Kevin Sawicki
|
2536e62fb0
|
Add togglefullscreen role selector
|
2016-06-21 09:34:29 -07:00 |
|
Kevin Sawicki
|
67f7b4d4c5
|
Map quit role to terminate selector
|
2016-06-21 09:08:13 -07:00 |
|
Daniel Pham
|
bd1eae86a1
|
Add 'delete' and 'pasteandmatchstyle' roles
|
2016-06-05 21:50:37 -04:00 |
|
Machisté N. Quintana
|
2bfc7aa152
|
Add mapping for performZoom
|
2016-03-07 16:01:46 -08:00 |
|
Machisté N. Quintana
|
eae5cc9d2c
|
🎨 [ci skip]
|
2016-03-07 15:53:09 -08:00 |
|
Machisté N. Quintana
|
4ded709307
|
Map selectors for delete and pasteAndMatchStyle to roles
|
2016-03-07 15:42:32 -08:00 |
|
leethomas
|
eac2f6fec3
|
🍎 only add sub menus to Window when they actually have menu items. fixes #3873
|
2015-12-30 19:38:14 -08:00 |
|
Cheng Zhao
|
73e7773d84
|
Update to API changes of Chrome 47
|
2015-12-07 19:56:23 +08:00 |
|
Cheng Zhao
|
d830badc57
|
Add role property for MenuItem
|
2015-09-02 09:42:17 +08:00 |
|
Cheng Zhao
|
4b9ff309ec
|
Add our own MenuModel class
|
2015-08-10 12:39:05 +08:00 |
|
Cheng Zhao
|
edde653d60
|
Merge branch 'feature/modifiers-click-tray' of https://github.com/nishanths/electron into nishanths-feature/modifiers-click-tray
|
2015-07-29 12:19:17 +08:00 |
|
Nishanth Shanmugham
|
99a8f29de9
|
Move event type functions to a common event_util file
|
2015-07-27 00:41:20 -07: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 |
|
Cheng Zhao
|
49ac363eef
|
cocoa: Enable modifying initialized menu
|
2014-11-16 20:24:29 +08:00 |
|
Kevin Sawicki
|
b6b6fc3bfd
|
Remove All Rights Reserved after GitHub copyright
Closes #762
|
2014-10-31 11:17:05 -07:00 |
|
patr0nus
|
915a6196cc
|
Remove the deprecated convertScreenToBase and convertBaseToScreen.
|
2014-10-25 11:06:39 +08:00 |
|
Cheng Zhao
|
f604525b98
|
mac: Enable setting "Services" menu.
Regarding https://github.com/atom/atom/issues/3204.
|
2014-09-05 13:07:05 +08:00 |
|
Cheng Zhao
|
cd4c5d976b
|
Adapt to API changes of Chromium and node.
|
2014-06-28 22:33:00 +08:00 |
|
Cheng Zhao
|
f176b2c58f
|
Switch to use MIT license.
|
2014-05-04 20:29:08 +08:00 |
|
Cheng Zhao
|
516d46444d
|
Move all sources under atom/.
|
2014-03-16 08:30:26 +08:00 |
|