Shelley Vohr
544d8a423c
feat: allow MenuItems to work optionally when hidden ( #16853 )
...
* feat: allow MenuItems to work optionally when hidden
* fix: actually include forward_declaration
2019-02-28 17:00:54 +00:00
Milan Burda
5e762d6a47
chore: finalize dropping support for OS X Mavericks (version 10.9) ( #17102 )
2019-02-25 17:21:57 +00:00
deepak1556
d7fea1b484
REVIEW: fix possible -Wdeprecated-declarations warnings
2019-02-14 23:59:26 +05:30
Heilig Benedek
ccc60a1f33
fix: enable autofill popups on mac ( #16308 )
...
* feat: enable autofill popups on mac
* fix: make popup positioning better
* fix: don't try to show popup when widget is closing or not visible
* fix: unify conditions
* refactor: use PopupViewCommon from chrome directly
* lint: mark constructor explicit
* fix: use a patch instead of dummy functions to make things compile on Windows
* chore: address review suggestions
* Update atom/browser/ui/cocoa/views_delegate_mac.mm
Co-Authored-By: brenca <benecene@gmail.com>
2019-02-11 09:38:58 -10:00
Shelley Vohr
1898f91620
fix: enable property having no effect on submenus ( #16835 )
2019-02-08 18:07:08 -08:00
Shelley Vohr
ccf46a57bc
fix: display empty menu item for non-visible submenus ( #16832 )
...
* fix: display empty menu item for nonvisible submenus
* use Chromium UI string ID
2019-02-08 13:19:01 -08:00
Shelley Vohr
062778c031
fix: don't construct submenu if it's invisible ( #16834 )
2019-02-08 12:54:39 -08:00
Jeremy Apthorp
deff96a1b0
NativeWidgetMac::CreateNSWindow params changed
...
https://chromium-review.googlesource.com/c/1295251
2019-01-22 10:32:04 -08:00
Jeremy Apthorp
d228bdfb9e
gfx::NativeView is no longer NSView on mac
...
https://chromium-review.googlesource.com/c/1270343
2019-01-22 10:32:04 -08:00
Milan Burda
52e257668d
fix: windowmenu did not show the window list on macOS ( #16387 )
2019-01-14 17:27:52 +01:00
Robo
52fe92d02e
feat: Upgrade to Chromium 71.0.3578.98 ( #15966 )
2019-01-11 17:00:43 -08:00
Milan Burda
d63a848011
feat: add activate option to webContents.openDevTools ( #13852 )
2018-11-27 18:34:44 +09:00
Shelley Vohr
9fd98bb27b
refactor: no longer require submenu for services menuitem ( #15656 )
2018-11-10 12:47:55 -05:00
Shelley Vohr
ece4c81c1a
fix: hiddenInset titleBar console spam ( #15576 )
2018-11-05 21:02:46 -08:00
Milan Burda
8ba271efba
refactor: eliminate brightray ( #15240 )
2018-10-24 12:49:10 +02:00
Nitish Sakhawalkar
ca4b4709e5
fix: Native window close crash ( #15327 )
2018-10-23 10:35:00 -04:00
Milan Burda
6f3c46cc7e
refactor: move devtools from brightray to atom ( #15234 )
2018-10-19 15:50:30 +02:00
Jeremy Apthorp
b57b342352
Remove PlatformAccelerator
...
https://chromium-review.googlesource.com/c/chromium/src/+/1140211
2018-10-09 14:38:00 -07:00
Shelley Vohr
e06bc311a9
chore: remove dead code in menu controller ( #14939 )
2018-10-03 16:24:28 +09:00
Shelley Vohr
985d35fc1c
fix: update deprecated NSWindow masks ( #14760 )
2018-09-26 16:00:57 -07:00
Shelley Vohr
c7b91acf41
fix: inconsistent titleBarStyle on transparent fullscreen ( #14765 )
2018-09-24 17:15:18 -07:00
Aleksei Kuzmin
7fc3bcaa02
chore: run clang-format
...
- atom/
- brightray/
- chromium_src/
2018-09-19 17:18:10 +02:00
Shelley Vohr
12a435273d
fix: quit properly in simpleFullScreen mode ( #14620 )
2018-09-16 22:22:09 -07:00
Nitish Sakhawalkar
826af1d676
fix: macOS Window Title And Accessibility Focus ( #14472 )
...
- Override accessibility method in atom_ns_window
- Add title attribute in accessibilityAttributeValue
2018-09-07 09:47:31 +10:00
Birunthan Mohanathas
c8dc2d3730
feat: Add will-resize event to TopLevelWindow ( #13649 )
...
The new `will-resize` event can be used to prevent the resize from
happening before the native window is actually resized. This is in
contrast to the existing the `resize` event, which is sent *after* the
native window has already been resized. For apps with e.g. custom window
snapping logic, the `resize` event is not sufficient because it will
result in flickering between the dragged size and the snapped size.
`will-resize` is only emitted on macOS and Windows.
2018-07-27 18:53:01 +09:00
Maxine Whitely
6cf68f8247
fix: tray setContextMenu crash ( #13513 )
...
Co-authored-by: Zhuo Lu <sethlu@mintkit.net>
Co-authored-by: Kristine Zhang <kzhang@slack-corp.com>
2018-06-29 14:48:26 -07:00
Jeremy Apthorp
8ccb5cc6eb
chore: Annotate fallthrough switch paths with FALLTHROUGH
...
The compiler was throwing errors about unannotated fallthroughs when
building with GN.
2018-06-20 14:38:18 -07:00
Samuel Attard
79fbd6bab1
Revert "fix: Drop support for OS X Mavericks (version 10.9)" ( #13333 )
2018-06-20 07:27:55 -05:00
Milan Burda
794fe741e9
fix: Drop support for OS X Mavericks (version 10.9)
2018-06-19 17:49:27 +02:00
Cheng Zhao
2c8dc9e0bd
Add View.addChildView API
2018-05-24 15:36:29 +09:00
Cheng Zhao
ea97f43145
check content view in SetMenuBarVisibility
2018-05-15 14:12:47 +09:00
Cheng Zhao
640877ebf8
attach native view after widget is created
2018-05-15 14:03:21 +09:00
Cheng Zhao
5547df6073
report correct content size in AtomNSWindow
...
The views framework relies on NSWindow to return content size of window,
since we don't use the borderless window, the original result would
include titlebar. We have to override the function to return correct
result for frameless window.
2018-05-04 09:55:09 +09:00
Cheng Zhao
28fc58067b
remove usage of FullSizeContentView
2018-05-04 09:55:09 +09:00
Cheng Zhao
a9709a635c
display WebContents as views::View on macOS
2018-05-04 09:55:09 +09:00
Cheng Zhao
cf70267871
remove unnecessary overrides
2018-04-26 09:48:12 +09:00
Cheng Zhao
39242c978f
fix failed BrowserWindow tests
2018-04-25 15:10:29 +09:00
Cheng Zhao
75a624434c
refactor: use views::Widget on macOS
2018-04-25 15:10:29 +09:00
Shelley Vohr
12a57ff1c2
clang-format objc files ( #12673 )
2018-04-20 11:47:04 -07:00
Cheng Zhao
c44279bb10
Move AtomNSWindow to a new file
2018-04-20 19:26:20 +09:00
Cheng Zhao
569967ac21
Move QLPreviewPanelDataSource to AtomNSWindowDelegate
2018-04-20 19:17:08 +09:00
Cheng Zhao
f6a7e5ea23
Move NSTouchBarDelegate to AtomNSWindowDelegate
2018-04-20 19:15:45 +09:00
Cheng Zhao
ce54fd334d
Move AtomNSWindowDelegate to a new file
2018-04-20 19:12:17 +09:00
Cheng Zhao
9bc79f840e
mac: Override NativeWidgetMac
2018-04-20 19:10:37 +09:00
Cheng Zhao
37a7df49d6
mac: Provide ViewsDelegate
2018-04-20 19:10:37 +09:00
deepak1556
30f1d0991b
enable chromium style checker plugin for electron and brightray targets
2018-04-19 11:12:58 -07:00
Jeremy Apthorp
f3c00e96aa
Bring mac code into conformance with -Wunguarded-availability
2018-04-19 11:12:58 -07:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
kaylie
da9f12d1e2
restore old cb
2018-02-25 14:19:40 -08:00
Samuel Attard
66b57858b8
Fix child touch bar items not updating ( #11812 )
...
* Fix child touch bar items not updating
Deep children of a TouchBar didn't cause the top level touch bar to update, now they do
Fixes #11761 .
* Remove unused newValue property in TB setter
2018-02-12 12:53:04 -05:00