electron/shell/browser/ui/cocoa
Erick Zhao c7da54e82a fix: Correct modal focus behavior on macOS (#18995)
Fixes #18502

This PR changes the focus and blur events that we emit in Electron to listen to changes in key window rather than main window. It swaps out windowDidBecomeMain and windowDidResignMain for windowDidBecomeKey and windowDidResignKey, respectively.
2019-07-01 10:07:26 -07:00
..
atom_bundle_mover.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_bundle_mover.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_inspectable_web_contents_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_inspectable_web_contents_view.mm
atom_menu_controller.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_menu_controller.mm fix: correct triggeredByAccelerator Event property behavior (#18865) 2019-06-28 14:38:17 -07:00
atom_native_widget_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_native_widget_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_ns_window.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_ns_window.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_ns_window_delegate.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_ns_window_delegate.mm fix: Correct modal focus behavior on macOS (#18995) 2019-07-01 10:07:26 -07:00
atom_preview_item.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
atom_preview_item.mm
atom_touch_bar.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_touch_bar.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
delayed_native_view_host.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
delayed_native_view_host.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
event_dispatching_window.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
event_dispatching_window.mm
NSColor+Hex.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
NSColor+Hex.mm
NSString+ANSI.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
NSString+ANSI.mm
root_view_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
root_view_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
touch_bar_forward_declarations.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
views_delegate_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
views_delegate_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00