electron/shell/browser/api
CezaryKulakowski 0bc906853e
fix: call focus on native window on call to webContents.focus on mac (#22323)
* fix: call focus on native window on call to webContents.focus on mac

On mac call to web_contents()->Focus() is not enough so it's
necessary to call it on native window.

* fixup! fix: call focus on native window on call to webContents.focus on mac

* fixup! fix: call focus on native window on call to webContents.focus on mac

* test: close all windows after test

* fix: also match the behavior on Linux

Co-authored-by: Cheng Zhao <zcbenz@github.com>
2020-03-02 16:51:02 +09:00
..
views chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_app.cc fix: dictionaries download path should be in userdata (#22444) 2020-02-28 15:37:53 -08:00
electron_api_app.h feat: allow macOS apps to set activation policies (#21983) 2020-02-05 19:12:25 +00:00
electron_api_app_mac.mm feat: allow macOS apps to set activation policies (#21983) 2020-02-05 19:12:25 +00:00
electron_api_app_mas.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_auto_updater.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_auto_updater.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_browser_view.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_browser_view.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_browser_window.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_browser_window.h fix: remove cyclic references of BrowserWindow (#22006) 2020-02-11 09:37:46 +09:00
electron_api_browser_window_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_browser_window_views.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_content_tracing.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_cookies.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_cookies.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_data_pipe_holder.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_data_pipe_holder.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_debugger.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_debugger.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_desktop_capturer.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_desktop_capturer.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_dialog.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_download_item.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_download_item.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_event.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_global_shortcut.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_global_shortcut.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_in_app_purchase.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_in_app_purchase.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_menu.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_menu.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_menu_mac.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_menu_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_menu_views.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_menu_views.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_native_theme.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_native_theme.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_native_theme_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_net.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_net.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_net_log.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_net_log.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_notification.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_notification.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_power_monitor.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_power_monitor.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_power_monitor_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_power_monitor_win.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_power_save_blocker.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_power_save_blocker.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_protocol.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_protocol.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_screen.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_screen.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_service_worker_context.cc feat: add API for receiving logs from service workers (#20624) 2020-02-20 15:19:06 -08:00
electron_api_service_worker_context.h feat: add API for receiving logs from service workers (#20624) 2020-02-20 15:19:06 -08:00
electron_api_session.cc fix: add patch to set the base download URL rather than override it completely (#22382) 2020-02-25 14:57:28 -08:00
electron_api_session.h feat: add API for receiving logs from service workers (#20624) 2020-02-20 15:19:06 -08:00
electron_api_system_preferences.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_system_preferences.h spec: unskip webview.printToPDF (#22122) 2020-02-11 03:35:05 +00:00
electron_api_system_preferences_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_system_preferences_win.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_top_level_window.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_top_level_window.h fix: remove cyclic references of BrowserWindow (#22006) 2020-02-11 09:37:46 +09:00
electron_api_tray.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_tray.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_url_loader.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_url_loader.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_view.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_view.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_web_contents.cc fix: call focus on native window on call to webContents.focus on mac (#22323) 2020-03-02 16:51:02 +09:00
electron_api_web_contents.h fix: remove cyclic references of BrowserWindow (#22006) 2020-02-11 09:37:46 +09:00
electron_api_web_contents_impl.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_web_contents_mac.mm chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_web_contents_view.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
electron_api_web_contents_view.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_api_web_request.cc chore: bump chromium to 28254008f9e7a2aea5d4426906bfd (master) (#22025) 2020-02-06 07:05:30 +00:00
electron_api_web_request.h fix: make webRequest work with WebSocket (#22040) 2020-02-11 14:56:09 +09:00
electron_api_web_view_manager.cc chore: rename node bindings atom => electron (#22176) 2020-02-14 06:25:39 -05:00
event.cc chore: remove native_mate (Part 12) (#20869) 2019-10-31 16:56:00 +09:00
event.h chore: remove native_mate (Part 12) (#20869) 2019-10-31 16:56:00 +09:00
frame_subscriber.cc chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
frame_subscriber.h chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
gpu_info_enumerator.cc chore: bump chromium to f755b70e34659441e72c1a928a406 (master) (#21000) 2019-12-10 16:22:35 -08:00
gpu_info_enumerator.h chore: bump chromium to f755b70e34659441e72c1a928a406 (master) (#21000) 2019-12-10 16:22:35 -08:00
gpuinfo_manager.cc refactor: migrates util::Promise to gin (#20871) 2019-11-01 15:10:32 +09:00
gpuinfo_manager.h refactor: migrates util::Promise to gin (#20871) 2019-11-01 15:10:32 +09:00
process_metric.cc feat: add memory to app.getAppMetrics() (#18831) 2019-07-23 13:41:58 -07:00
process_metric.h feat: add memory to app.getAppMetrics() (#18831) 2019-07-23 13:41:58 -07:00
save_page_handler.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
save_page_handler.h refactor: migrates util::Promise to gin (#20871) 2019-11-01 15:10:32 +09:00