$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- third_party/blink/public/mojom/webpreferences/web_preferences.mojom.orig 2025-02-24 19:59:26.000000000 +0000 +++ third_party/blink/public/mojom/webpreferences/web_preferences.mojom @@ -9,6 +9,7 @@ import "third_party/blink/public/mojom/c import "third_party/blink/public/mojom/v8_cache_options.mojom"; import "url/mojom/url.mojom"; import "mojo/public/mojom/base/string16.mojom"; +import "mojo/public/mojom/base/file_path.mojom"; enum PointerType { kPointerNone = 1, // 1 << 0 @@ -217,6 +218,19 @@ struct WebPreferences { // If true, stylus handwriting recognition to text input will be available in // editable input fields which are non-password type. bool stylus_handwriting_enabled; + // Begin Electron-specific WebPreferences. + bool context_isolation; + bool is_webview; + bool hidden_page; + bool offscreen; + bool node_integration; + bool node_integration_in_worker; + bool node_integration_in_sub_frames; + bool enable_spellcheck; + bool enable_plugins; + bool enable_websql; + bool webview_tag; + // End Electron-specific WebPreferences. // This flags corresponds to a Page's Settings' setCookieEnabled state. It // only controls whether or not the "document.cookie" field is properly