electron/shell/browser/api
rcombs d8e4579e3c
feat: add cumulativeCPUUsage to AppMetrics and CPUUsage ()
This allows apps to measure their CPU usage over any given period
without worrying about other calls affecting the output,
as they would with `percentCPUUsage`.
2024-06-11 09:38:03 -05:00
..
views chore: rename built-in modules to bindings to match naming update in node () 2023-02-09 10:31:38 +09:00
electron_api_app.cc feat: add cumulativeCPUUsage to AppMetrics and CPUUsage () 2024-06-11 09:38:03 -05:00
electron_api_app.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_app_mac.mm chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_app_mas.mm chore: bump chromium to 117.0.5923.0 (main) () 2023-08-04 10:47:29 +02:00
electron_api_auto_updater.cc fix: potential async_hooks crash in NotifyWindowRestore on Windows () 2024-01-26 12:53:07 -06:00
electron_api_auto_updater.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_base_window.cc fix: setTitleBarOverlay should be implemented on BaseWindow () 2024-04-29 11:28:24 -04:00
electron_api_base_window.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_browser_window.cc fix: setTitleBarOverlay should be implemented on BaseWindow () 2024-04-29 11:28:24 -04:00
electron_api_browser_window.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_content_tracing.cc chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_cookies.cc refactor: improve cookie failure rejection messages () 2024-06-07 10:06:37 +02:00
electron_api_cookies.h chore: enable check raw ptr fields () 2023-05-11 16:07:39 -04:00
electron_api_crash_reporter.cc chore: bump chromium to 116.0.5829.0 (main) () 2023-06-13 14:45:48 -04:00
electron_api_crash_reporter.h chore: used nested namespaces () 2022-06-29 12:55:47 -07:00
electron_api_data_pipe_holder.cc chore: bump chromium to 126.0.6445.0 (main) () 2024-05-10 11:21:10 -04:00
electron_api_data_pipe_holder.h chore: add missing gin::Wrappable GetTypeName overrides () 2024-03-06 12:45:28 +01:00
electron_api_debugger.cc refactor: replace use of deprecated base::JSONWriter::WriteJson() () 2024-02-02 12:25:58 -06:00
electron_api_debugger.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_desktop_capturer.cc perf: remove unnecessary .c_str() calls () 2024-04-16 19:48:54 -04:00
electron_api_desktop_capturer.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
electron_api_dialog.cc refactor: add gin_helper::Dictionary::CreateEmpty() helper () 2023-08-21 10:43:41 +09:00
electron_api_download_item.cc chore: bump chromium to 120.0.6099.0 (main) () 2023-11-01 10:02:12 -04:00
electron_api_download_item.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_event_emitter.cc chore: rename built-in modules to bindings to match naming update in node () 2023-02-09 10:31:38 +09:00
electron_api_event_emitter.h chore: add ELECTRON_ prefix to C++ include guards () 2021-11-22 16:34:31 +09:00
electron_api_global_shortcut.cc chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
electron_api_global_shortcut.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
electron_api_in_app_purchase.cc chore: remove obsolete "simple" object annotations for the remote module () 2023-08-22 13:43:30 +09:00
electron_api_in_app_purchase.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_menu.cc fix: set prototype names on gin::Constructible classes () 2023-07-10 11:49:20 +02:00
electron_api_menu.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_menu_mac.h chore: cleanup arc migration helpers () 2023-08-23 09:54:21 -04:00
electron_api_menu_mac.mm chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_menu_views.cc perf: use flat_set, flat_map for small, trivially-moved containers () 2024-01-05 12:18:31 +01:00
electron_api_menu_views.h perf: use flat_set, flat_map for small, trivially-moved containers () 2024-01-05 12:18:31 +01:00
electron_api_native_theme.cc chore: rename built-in modules to bindings to match naming update in node () 2023-02-09 10:31:38 +09:00
electron_api_native_theme.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_native_theme_mac.mm chore: cleanup arc migration helpers () 2023-08-23 09:54:21 -04:00
electron_api_net_log.cc chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_net_log.h chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_notification.cc refactor: inline simple getters () 2024-01-29 20:43:28 -06:00
electron_api_notification.h refactor: inline simple getters () 2024-01-29 20:43:28 -06:00
electron_api_power_monitor.cc feat: add thermal states to powerMonitor () 2023-04-19 11:46:55 +02:00
electron_api_power_monitor.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_power_monitor_mac.mm fix: user-did-{resign|become}-active events on macOS () 2024-03-06 12:43:39 +01:00
electron_api_power_monitor_win.cc refactor: replace remaining NULL with nullptr () 2023-10-03 12:26:35 -07:00
electron_api_power_save_blocker.cc chore: add missing gin::Wrappable GetTypeName overrides () 2024-03-06 12:45:28 +01:00
electron_api_power_save_blocker.h chore: add missing gin::Wrappable GetTypeName overrides () 2024-03-06 12:45:28 +01:00
electron_api_printing.cc chore: remove deprecated webContents.getPrinters() () 2023-09-05 10:16:41 +02:00
electron_api_protocol.cc perf: avoid protocol registry redundant lookup () 2024-05-09 09:53:09 -04:00
electron_api_protocol.h feat: enable code cache for custom protocols () 2023-12-06 11:22:41 +09:00
electron_api_push_notifications.cc chore: remove unused std includes () 2023-06-14 11:07:18 -07:00
electron_api_push_notifications.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_push_notifications_mac.mm chore: cleanup arc migration helpers () 2023-08-23 09:54:21 -04:00
electron_api_safe_storage.cc refactor: inline simple getters, pt . 2 () 2024-02-09 10:29:14 +01:00
electron_api_safe_storage.h chore: used nested namespaces () 2022-06-29 12:55:47 -07:00
electron_api_screen.cc chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
electron_api_screen.h chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
electron_api_service_worker_context.cc refactor: remove banned std::to_string() calls () 2024-01-24 16:43:31 -06:00
electron_api_service_worker_context.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_session.cc refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_session.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_system_preferences.cc feat: expose app accessibility transparency settings api () 2023-09-20 12:48:02 -07:00
electron_api_system_preferences.h feat: expose app accessibility transparency settings api () 2023-09-20 12:48:02 -07:00
electron_api_system_preferences_mac.mm chore: bump chromium to 123.0.6296.0 (main) () 2024-02-14 12:33:32 -05:00
electron_api_system_preferences_win.cc chore: migrate base::StringPiece to std::string_view () 2024-01-10 19:00:37 -06:00
electron_api_tray.cc chore: migrate base::StringPiece to std::string_view () 2024-01-10 19:00:37 -06:00
electron_api_tray.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_utility_process.cc fix: utilityProcess exit codes () 2024-06-07 10:06:00 +02:00
electron_api_utility_process.h fix: utilityProcess exit codes () 2024-06-07 10:06:00 +02:00
electron_api_view.cc fix: View reordering on re-addition to same parent () 2024-05-10 10:16:33 +02:00
electron_api_view.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
electron_api_web_contents.cc refactor: move impl classes into unnamed namespaces () 2024-06-10 17:00:20 -05:00
electron_api_web_contents.h chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
electron_api_web_contents_impl.cc build: remove enable_osr build flag () 2023-06-13 14:48:53 -04:00
electron_api_web_contents_mac.mm chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
electron_api_web_contents_view.cc feat: Allow WebContentsView to accept webContents object. () 2024-05-30 12:45:35 -07:00
electron_api_web_contents_view.h refactor: inherit Observer classes privately, pt. 2 () 2024-05-29 13:07:02 -05:00
electron_api_web_frame_main.cc fix: account for potentially swapped FrameTreeNodeId in WebFrameMain () 2024-03-14 09:50:52 +01:00
electron_api_web_frame_main.h chore: replace absl::optional<T> with std::optional<T> () 2024-01-10 16:23:35 -06:00
electron_api_web_request.cc refactor: simplify code by using base::Value::EnsureList() () 2024-01-30 14:48:09 -06:00
electron_api_web_request.h chore: add missing gin::Wrappable GetTypeName overrides () 2024-03-06 12:45:28 +01:00
electron_api_web_view_manager.cc chore: rename built-in modules to bindings to match naming update in node () 2023-02-09 10:31:38 +09:00
frame_subscriber.cc chore: bump chromium to 127.0.6521.0 (main) () 2024-06-07 17:18:35 -04:00
frame_subscriber.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
gpu_info_enumerator.cc refactor: simplify code by using base::Value::EnsureList() () 2024-01-30 14:48:09 -06:00
gpu_info_enumerator.h chore: modernize ListValue usage in gpu info () 2022-06-28 09:52:59 -07:00
gpuinfo_manager.cc chore: bump chromium to 125.0.6412.0 (main) () 2024-04-15 18:10:32 -04:00
gpuinfo_manager.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
message_port.cc refactor: prefer base::Contains() over find() + end() () 2023-05-30 10:28:43 +02:00
message_port.h chore: add missing gin::Wrappable GetTypeName overrides () 2024-03-06 12:45:28 +01:00
process_metric.cc chore: bump chromium to 123.0.6296.0 (main) () 2024-02-14 12:33:32 -05:00
process_metric.h chore: bump chromium to 100.0.4857.0 (main) () 2022-02-09 18:58:52 -08:00
save_page_handler.cc chore: bump chromium to 111.0.5544.3 (main) () 2023-02-03 12:43:42 +01:00
save_page_handler.h refactor: prefer to inherit observer classes privately () 2024-05-21 14:21:31 -05:00
ui_event.cc chore: used nested namespaces () 2022-06-29 12:55:47 -07:00
ui_event.h chore: used nested namespaces () 2022-06-29 12:55:47 -07:00