electron/shell/browser/ui
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
..
cocoa fix: Correct modal focus behavior on macOS (#18995) 2019-07-01 10:07:26 -07:00
views refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
webui refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
win refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
x refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
accelerator_util.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
accelerator_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_menu_model.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_menu_model.h chore: use ScopedPumpMessagesInPrivateModes in tray (#18977) 2019-06-26 10:18:53 -07:00
autofill_popup.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
autofill_popup.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
certificate_trust.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
certificate_trust_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
certificate_trust_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
devtools_manager_delegate.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
devtools_manager_delegate.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
devtools_ui.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
devtools_ui.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
drag_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
drag_util_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
drag_util_views.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
file_dialog.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
file_dialog_gtk.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
file_dialog_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
file_dialog_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_delegate.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_impl.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_impl.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_view_delegate.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_view_delegate.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_view_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
inspectable_web_contents_view_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
message_box.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
message_box_gtk.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
message_box_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
message_box_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon_cocoa.h chore: use ScopedPumpMessagesInPrivateModes in tray (#18977) 2019-06-26 10:18:53 -07:00
tray_icon_cocoa.mm fix: crash when tray popup called twice (#18999) 2019-06-28 08:24:54 -07:00
tray_icon_gtk.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon_gtk.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon_observer.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
tray_icon_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00