electron/shell/browser/api
Jeremy Rose 8a926ffde4
refactor: use views NonClientHitTest for draggable regions on mac (#35603)
* refactor: use views NonClientHitTest for draggable regions on mac

* iwyu

* add backport of 9bb5f0316

* chore: update patches

* remove some unneeded functions

* remove test for triggering when BW is focused

* chore: update patches

* simplify views/mac split now that the draggable logic is the same

* Apply suggestions from code review

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* Update shell/browser/native_window.h

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* fix build

Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-10-12 12:05:45 -04:00
..
views chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_app.cc feat: add app.getSystemLocale() method (#35697) 2022-09-23 11:50:46 -07:00
electron_api_app.h feat: add app.getSystemLocale() method (#35697) 2022-09-23 11:50:46 -07:00
electron_api_app_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_app_mas.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_auto_updater.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_auto_updater.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_base_window.cc feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
electron_api_base_window.h feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
electron_api_browser_view.cc refactor: BrowserView is owned by a BaseWindow (#35511) 2022-08-31 17:40:02 -07:00
electron_api_browser_view.h refactor: BrowserView is owned by a BaseWindow (#35511) 2022-08-31 17:40:02 -07:00
electron_api_browser_window.cc refactor: use views NonClientHitTest for draggable regions on mac (#35603) 2022-10-12 12:05:45 -04:00
electron_api_browser_window.h refactor: use views NonClientHitTest for draggable regions on mac (#35603) 2022-10-12 12:05:45 -04:00
electron_api_content_tracing.cc chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_cookies.cc chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_cookies.h chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_crash_reporter.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_crash_reporter.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_data_pipe_holder.cc fix: session.getBlobData never resolves with blob sizes > 65536 (#35277) 2022-09-07 17:47:06 -04:00
electron_api_data_pipe_holder.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_debugger.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
electron_api_debugger.h chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_desktop_capturer.cc fix: set display_id in desktop capturer on Linux (#33861) 2022-09-27 11:40:44 -04:00
electron_api_desktop_capturer.h chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
electron_api_dialog.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_download_item.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_download_item.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_event.cc chore: bump chromium to 96.0.4647.0 (main) (#30814) 2021-10-05 19:21:00 -07:00
electron_api_event_emitter.cc chore: stop leaking v8 environment (#22761) 2020-03-20 14:15:55 -07:00
electron_api_event_emitter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_global_shortcut.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_global_shortcut.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_in_app_purchase.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_in_app_purchase.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_menu.cc chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
electron_api_menu.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_menu_mac.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_menu_mac.mm chore: drop unresponsive suppressor for menus (#35498) 2022-08-31 10:25:01 -07:00
electron_api_menu_views.cc chore: drop unresponsive suppressor for menus (#35498) 2022-08-31 10:25:01 -07:00
electron_api_menu_views.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_native_theme.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_native_theme.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_native_theme_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_net.cc chore: remove awkward semi-documented preloadURL WebPreference (#33228) 2022-03-16 16:23:41 -07:00
electron_api_net_log.cc chore: bump chromium to 105.0.5129.0 (main) (#34403) 2022-06-27 15:50:08 -05:00
electron_api_net_log.h chore: bump chromium to 105.0.5129.0 (main) (#34403) 2022-06-27 15:50:08 -05:00
electron_api_notification.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_notification.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_power_monitor.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_power_monitor.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_power_monitor_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_power_monitor_win.cc chore: fix typos (#32985) 2022-02-21 10:27:45 +01:00
electron_api_power_save_blocker.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_power_save_blocker.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_printing.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_protocol.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_protocol.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_push_notifications.cc feat: Enable APNS registration + notification delivery in macOS apps (#33574) 2022-07-12 08:38:49 -07:00
electron_api_push_notifications.h fix: `base::DictionaryValue` usage in APNS notifs (#34897) 2022-07-13 12:22:17 +02:00
electron_api_push_notifications_mac.mm fix: `base::DictionaryValue` usage in APNS notifs (#34897) 2022-07-13 12:22:17 +02:00
electron_api_safe_storage.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_safe_storage.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_screen.cc fix: `screen.getCursorScreenPoint()` crash on Wayland (#35503) 2022-09-05 10:10:50 +02:00
electron_api_screen.h fix: `screen.getCursorScreenPoint()` crash on Wayland (#35503) 2022-09-05 10:10:50 +02:00
electron_api_service_worker_context.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_service_worker_context.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_session.cc feat: add support for Web Bluetooth pin pairing (#35416) 2022-09-26 10:19:58 -04:00
electron_api_session.h feat: add support for Web Bluetooth pin pairing (#35416) 2022-09-26 10:19:58 -04:00
electron_api_system_preferences.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_system_preferences.h chore: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04:00
electron_api_system_preferences_mac.mm chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
electron_api_system_preferences_win.cc chore: modernize ListValue usage in dict_util.mm and related files (#34661) 2022-06-23 15:28:41 +09:00
electron_api_tray.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_tray.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_url_loader.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_url_loader.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_view.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_view.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_contents.cc fix: `webContents.printToPDF` option plumbing (#35975) 2022-10-11 16:06:34 -07:00
electron_api_web_contents.h feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
electron_api_web_contents_impl.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_contents_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_contents_view.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_contents_view.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_frame_main.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
electron_api_web_frame_main.h feat: webFrameMain.origin (#35438) 2022-08-31 17:40:57 -07:00
electron_api_web_request.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_request.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_web_view_manager.cc refactor: only create webContents after 'will-attach-webview' (#32941) 2022-07-21 11:29:31 +02:00
event.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
event.h chore: fix spelling errors in multiple files (#34574) 2022-06-16 16:46:11 +09:00
frame_subscriber.cc chore: bump chromium to 105.0.5173.0 (main) (#34770) 2022-07-13 17:26:16 -04:00
frame_subscriber.h chore: bump chromium to 105.0.5173.0 (main) (#34770) 2022-07-13 17:26:16 -04:00
gpu_info_enumerator.cc chore: modernize ListValue usage in gpu info (#34663) 2022-06-28 09:52:59 -07:00
gpu_info_enumerator.h chore: modernize ListValue usage in gpu info (#34663) 2022-06-28 09:52:59 -07:00
gpuinfo_manager.cc chore: modernize ListValue usage in gpu info (#34663) 2022-06-28 09:52:59 -07:00
gpuinfo_manager.h chore: modernize ListValue usage in gpu info (#34663) 2022-06-28 09:52:59 -07:00
message_port.cc chore: prefer empty() check for readability (#29360) 2021-05-27 13:08:30 -07:00
message_port.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
process_metric.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
process_metric.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
save_page_handler.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
save_page_handler.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
ui_event.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
ui_event.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00