electron/shell/browser/api
Jeremy Rose eebf34cc6c
feat: add webContents.close() (#35509)
* feat: add webContents.close()

* update docs, add test for beforeunload override

* Update web-contents.md
2022-09-16 16:22:59 -07:00
..
views chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_app.cc chore: update process singleton patch (#35376) 2022-08-20 07:45:58 +09:00
electron_api_app.h chore: update process singleton patch (#35376) 2022-08-20 07:45:58 +09: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: BrowserView is owned by a BaseWindow (#35511) 2022-08-31 17:40:02 -07:00
electron_api_base_window.h refactor: BrowserView is owned by a BaseWindow (#35511) 2022-08-31 17:40:02 -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 feat: add webContents.close() (#35509) 2022-09-16 16:22:59 -07:00
electron_api_browser_window.h chore: remove no-op force-paint for hidden windows (#35532) 2022-09-07 11:48:59 +02:00
electron_api_browser_window_mac.mm chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_browser_window_views.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07: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 chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_desktop_capturer.h chore: bump chromium to 107.0.5286.0 (main) (#35590) 2022-09-08 16:23:08 -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: make macOS spellchecker fns formal no-ops (#35514) 2022-09-14 15:10:16 -07:00
electron_api_session.h feat: session.setDisplayMediaRequestHandler (#30702) 2022-08-22 14:15:32 -07: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: modernize Value usage in converters (#34794) 2022-07-05 11:25:18 -04: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 feat: add webContents.close() (#35509) 2022-09-16 16:22:59 -07:00
electron_api_web_contents.h feat: add webContents.close() (#35509) 2022-09-16 16:22:59 -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