electron/shell/browser/api
Calvin 4fff74b73e
chore: move gin::DeprecatedWrappable to gin_helper (#47996)
chore: move gin::DeprecatedWrappable to gin_helper (#47958)

* chore: move gin::DeprecatedWrappable to gin_helper

This is in preparation for migrating to gin::Wrappable
based on cppgc #47922
The upstream class will be deleted soon via roller PR but
the cppgc migration should happen outside the roll, this
change retains the current functionality by copying the
implementation into //electron/shell/common/gin_helper.
The class can be deleted once the cppgc migration is complete.

* chore: fix lint:cpp

Co-authored-by: Robo <hop2deep@gmail.com>
2025-08-09 13:00:45 +09:00
..
views refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_app.cc feat: Use DIR_ASSETS path to locate resource bundles (#47950) 2025-08-06 19:40:11 +02:00
electron_api_app.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_app_mac.mm chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_app_mas.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
electron_api_auto_updater.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_auto_updater.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_base_window.cc feat: add {get|set}AccentColor on Windows (#47939) 2025-08-06 19:39:18 +02:00
electron_api_base_window.h feat: add {get|set}AccentColor on Windows (#47939) 2025-08-06 19:39:18 +02:00
electron_api_base_window_mac.mm fix: explicitly call GetNativeNSView() on macOS (#46733) 2025-04-23 17:55:18 -05:00
electron_api_browser_window.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_browser_window.h fix: abnormal behavior of windows background material (#47814) 2025-07-18 10:30:37 +02:00
electron_api_content_tracing.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_cookies.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_cookies.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_crash_reporter.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_crash_reporter.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_data_pipe_holder.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_data_pipe_holder.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_debugger.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_debugger.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_desktop_capturer.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_desktop_capturer.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_desktop_capturer_mac.mm feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
electron_api_dialog.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_download_item.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_download_item.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_event_emitter.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04: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_extensions.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_extensions.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_global_shortcut.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_global_shortcut.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_in_app_purchase.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_in_app_purchase.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_menu.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_menu.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_menu_mac.h feat: add support for associating a Menu with a WebFrameMain (#45138) 2025-03-28 11:50:07 -07:00
electron_api_menu_mac.mm fix: fallback to old MacOS context menu behavior if no frame is present (#46595) 2025-04-11 10:15:35 -04:00
electron_api_menu_views.cc refactor: pass views::Widget* into constructors of our TreeHosts and NativeWidgets (#47177) 2025-05-21 16:02:55 -05:00
electron_api_menu_views.h feat: add support for associating a Menu with a WebFrameMain (#45138) 2025-03-28 11:50:07 -07:00
electron_api_native_theme.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_native_theme.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_native_theme_mac.mm chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_api_net_log.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_net_log.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_notification.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_notification.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_power_monitor.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_power_monitor.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_power_monitor_mac.mm fix: remove extra 'suspend'/'resume' handling from powerMonitor (#47162) 2025-05-21 10:00:38 -05:00
electron_api_power_monitor_win.cc fix: remove extra 'suspend'/'resume' handling from powerMonitor (#47162) 2025-05-21 10:00:38 -05:00
electron_api_power_save_blocker.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_power_save_blocker.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_printing.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_protocol.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_protocol.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_push_notifications.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_push_notifications.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_push_notifications_mac.mm fix: APNS token ids are lowercase ASCII (#46101) 2025-03-20 07:57:50 +01:00
electron_api_safe_storage.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_screen.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_screen.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_service_worker_context.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
electron_api_service_worker_context.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_service_worker_main.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_service_worker_main.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_session.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_session.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_system_preferences.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_system_preferences.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_system_preferences_mac.mm chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_system_preferences_win.cc feat: add {get|set}AccentColor on Windows (#47939) 2025-08-06 19:39:18 +02:00
electron_api_tray.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
electron_api_tray.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_utility_process.cc chore: bump chromium to 140.0.7301.0 (38-x-y) (#47849) 2025-07-21 11:55:08 -07:00
electron_api_utility_process.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_view.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_view.h refactor: make api::View methods const, private (#46545) 2025-04-07 16:23:36 -05:00
electron_api_web_contents.cc fix: crash on window.close() with webContents on blur (#47952) 2025-08-04 14:28:35 +02:00
electron_api_web_contents.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_web_contents_impl.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_web_contents_mac.mm chore: remove WebContents.getNativeView() (#46734) 2025-04-23 20:33:50 -05:00
electron_api_web_contents_view.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
electron_api_web_contents_view.h feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04:00
electron_api_web_frame_main.cc feat: webFrameMain.fromFrameToken (#47942) 2025-08-06 19:39:56 +02:00
electron_api_web_frame_main.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_web_request.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_web_request.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
electron_api_web_view_manager.cc refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 1) (#47843) 2025-07-21 13:12:24 -04:00
frame_subscriber.cc refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
frame_subscriber.h refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
gpu_info_enumerator.cc refactor: simplify code by using base::Value::EnsureList() (#41162) 2024-01-30 14:48:09 -06:00
gpu_info_enumerator.h refactor: remove unused system header includes (#46015) 2025-03-14 10:59:15 -05:00
gpuinfo_manager.cc fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46434) 2025-04-03 10:12:12 -07:00
gpuinfo_manager.h fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46434) 2025-04-03 10:12:12 -07:00
ipc_dispatcher.h refactor: dispatch IPC messages from Session (#45452) 2025-02-17 16:36:28 -05:00
message_port.cc chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
message_port.h chore: move gin::DeprecatedWrappable to gin_helper (#47996) 2025-08-09 13:00:45 +09:00
process_metric.cc build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07: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: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
save_page_handler.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05: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