electron/shell/browser/api
Samuel Attard a9ef68f126
refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332)
* refactor: change defined(MAS_BUILD) to IS_MAS_BUILD()

This is missing-definition safe and thus allows us to move the definition of this macro away from "all compilation targets" to "just the compilation targets that depend on this macro".

In turn this makes the rebuild time changing from mas <-> darwin only 80 seconds on my machine, instead of the 12-15 minutes it used to take.  This will also allow us in the future to build both MAS and darwin on the same CI machine.  Costing us ~2 minutes on one machine but saving us anywhere from 30 minutes to an hour of CI time on other parts of the matrix.

* build: always define IS_MAS_BUILD even on non-mac builds

* build: use extra_configs
2022-11-14 12:46:52 -08:00
..
views chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_app.cc refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
electron_api_app.h refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08: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 refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_base_window.h feat: Add BrowserWindow option to hide window in Mission Control (macOS) (#36092) 2022-11-01 16:43:42 -04:00
electron_api_browser_view.cc refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_browser_view.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_browser_window.cc refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_browser_window.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08: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 refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08: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 chore: bump chromium to 108.0.5355.0 (main) (#35900) 2022-10-17 10:22:24 -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
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 chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -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_utility_process.cc feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
electron_api_utility_process.h feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -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 refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
electron_api_web_contents.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08: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 refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_web_contents_view.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08: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
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 refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46: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