electron/shell/browser/api
Mitchell Cohen a9296229c8
feat: add app.isHidden API for macOS (#32155)
* feat: add app.isHidden API

* Update docs/api/app.md

Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>

* fixed isHidden tests

* Update docs/api/app.md

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>

* Update spec-main/api-app-spec.ts

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>

Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2022-03-29 21:34:07 -04:00
..
views chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_app.cc feat: add app.isHidden API for macOS (#32155) 2022-03-29 21:34:07 -04:00
electron_api_app.h chore: change usages of std::vector with const elements (#33373) 2022-03-22 01:52:10 -07:00
electron_api_app_mac.mm chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
electron_api_app_mas.mm fix: Resolve bookmarks without mounting network drives (#24708) 2020-08-20 15:01:08 -07:00
electron_api_auto_updater.cc refactor: ginify autoUpdater (#24678) 2020-07-28 11:04:34 -07:00
electron_api_auto_updater.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_base_window.cc feat: support more color formats for backgroundColor (#31868) 2022-03-21 18:35:54 +01:00
electron_api_base_window.h feat: support more color formats for backgroundColor (#31868) 2022-03-21 18:35:54 +01:00
electron_api_browser_view.cc fix: BrowserView background color in webContents (#33435) 2022-03-28 12:47:08 -04:00
electron_api_browser_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_browser_window.cc feat: add WCO title bar style setters (#33066) 2022-03-24 20:02:45 -04:00
electron_api_browser_window.h feat: add WCO title bar style setters (#33066) 2022-03-24 20:02:45 -04:00
electron_api_browser_window_mac.mm fix: draggable regions in BrowserViews are independent (#31085) 2021-09-30 11:41:08 +02:00
electron_api_browser_window_views.cc fix: ensure web_contents() is alive before grabbing view (#30571) 2021-08-17 14:00:49 -07:00
electron_api_content_tracing.cc refactor: migrate AdaptCallbackForRepeating to SplitOnceCallback (#29825) 2021-06-21 18:04:31 -07:00
electron_api_cookies.cc chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
electron_api_cookies.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_crash_reporter.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_crash_reporter.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_data_pipe_holder.cc refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633) 2021-11-03 20:41:45 +09:00
electron_api_data_pipe_holder.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_debugger.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
electron_api_debugger.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_desktop_capturer.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_desktop_capturer.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08: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: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
electron_api_download_item.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09: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: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_global_shortcut.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_in_app_purchase.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_in_app_purchase.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_menu.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_menu.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_menu_mac.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_menu_mac.mm fix: running tests with release build (#31092) 2021-09-27 16:58:03 +02:00
electron_api_menu_views.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
electron_api_menu_views.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_native_theme.cc feat: add nativeTheme.inForcedColorsMode (#32956) 2022-03-21 10:30:02 +01:00
electron_api_native_theme.h feat: add nativeTheme.inForcedColorsMode (#32956) 2022-03-21 10:30:02 +01:00
electron_api_native_theme_mac.mm
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 98.0.4706.0 (main) (#31555) 2021-11-24 09:45:59 +01:00
electron_api_net_log.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_notification.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_api_notification.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_power_monitor.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_power_monitor.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_power_monitor_mac.mm feat: add macOS fast user switching evt (#25321) 2020-09-22 10:12:39 -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 refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
electron_api_power_save_blocker.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_printing.cc feat: add webContents.getPrintersAsync() (#31023) 2021-10-25 14:16:58 -04:00
electron_api_protocol.cc chore: cleanup usages of const char* (#29906) 2021-07-02 09:51:52 +09:00
electron_api_protocol.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_safe_storage.cc feat: add electron.safeStorage encryption API (#30020) 2021-08-05 15:12:54 -07:00
electron_api_safe_storage.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_screen.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_screen.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_service_worker_context.cc chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05: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: allow setting code cache directory (#31154) 2022-03-15 15:34:53 -05:00
electron_api_session.h feat: allow setting code cache directory (#31154) 2022-03-15 15:34:53 -05:00
electron_api_system_preferences.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_system_preferences.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_system_preferences_mac.mm chore: bump chromium to 98.0.4706.0 (main) (#31555) 2021-11-24 09:45:59 +01:00
electron_api_system_preferences_win.cc chore: use std::make_unique/base::MakeRefCounted when possible (#29510) 2021-06-08 11:00:05 +09:00
electron_api_tray.cc fix: tray garbage collection (#33040) 2022-02-24 20:03:59 +01:00
electron_api_tray.h fix: tray garbage collection (#33040) 2022-02-24 20:03:59 +01:00
electron_api_url_loader.cc chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
electron_api_url_loader.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_view.cc chore: remove unused classes of views API (#22861) 2020-03-28 15:44:57 +09:00
electron_api_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_web_contents.cc fix: BrowserView background color in webContents (#33435) 2022-03-28 12:47:08 -04:00
electron_api_web_contents.h fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames (#33323) 2022-03-18 19:50:05 -07:00
electron_api_web_contents_impl.cc chore: bump chromium to ec5bc1743792d64724693eb357083 (master) (#24984) 2020-09-21 01:00:36 -07:00
electron_api_web_contents_mac.mm refactor: remove base::Value from WebContentsPreferences (#30193) 2021-07-26 09:04:09 -07:00
electron_api_web_contents_view.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_api_web_contents_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_web_frame_main.cc fix: optional postMessage transfer arg (#32433) 2022-01-13 14:52:48 +01:00
electron_api_web_frame_main.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_web_request.cc fix: incorrect Content-Disposition serialization (#31669) 2021-11-03 10:11:37 -04:00
electron_api_web_request.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_web_view_manager.cc Revert "refactor: only create webContents after 'will-attach-webview' (#30311)" (#31785) 2021-11-11 15:04:06 -05:00
event.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
event.h fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames (#33323) 2022-03-18 19:50:05 -07:00
frame_subscriber.cc chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
frame_subscriber.h chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
gpu_info_enumerator.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
gpu_info_enumerator.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
gpuinfo_manager.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
gpuinfo_manager.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09: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: trim unused STL includes (#29414) 2021-06-01 10:34:44 +09:00
save_page_handler.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
ui_event.cc refactor: remove uses of v8::Isolate::GetCurrent (#24179) 2020-06-22 09:35:24 -07:00
ui_event.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00