|
@@ -8,10 +8,10 @@ WebPreferences of in-process child windows, rather than relying on
|
|
|
process-level command line switches, as before.
|
|
|
|
|
|
diff --git a/third_party/blink/common/web_preferences/web_preferences.cc b/third_party/blink/common/web_preferences/web_preferences.cc
|
|
|
-index 0997787979ba293e78211783d8d9993af50ac1c8..2e25e32d0e46470bc4d1a2254fc6737d848791ef 100644
|
|
|
+index f214ce91e96ee752f4904bf7f9f67cebcedd6187..4c6f82829bee2e6baf916797f116b810ab286f2a 100644
|
|
|
--- a/third_party/blink/common/web_preferences/web_preferences.cc
|
|
|
+++ b/third_party/blink/common/web_preferences/web_preferences.cc
|
|
|
-@@ -144,6 +144,19 @@ WebPreferences::WebPreferences()
|
|
|
+@@ -145,6 +145,19 @@ WebPreferences::WebPreferences()
|
|
|
v8_cache_options(blink::mojom::V8CacheOptions::kDefault),
|
|
|
record_whole_document(false),
|
|
|
stylus_handwriting_enabled(false),
|
|
@@ -32,10 +32,10 @@ index 0997787979ba293e78211783d8d9993af50ac1c8..2e25e32d0e46470bc4d1a2254fc6737d
|
|
|
accelerated_video_decode_enabled(false),
|
|
|
animation_policy(
|
|
|
diff --git a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
|
|
-index bd8a875818192f43d03a975d003ff2a75e6bea41..4971de9cd19e8f76b38c831e103578da59a951b0 100644
|
|
|
+index 1110a93dd7fad87a96fd8805eb1018cf7bbb5452..caf0cac5e1bf2a1607aa026d7c750f2880050cba 100644
|
|
|
--- a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
|
|
+++ b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
|
|
-@@ -148,6 +148,19 @@ bool StructTraits<blink::mojom::WebPreferencesDataView,
|
|
|
+@@ -149,6 +149,19 @@ bool StructTraits<blink::mojom::WebPreferencesDataView,
|
|
|
out->v8_cache_options = data.v8_cache_options();
|
|
|
out->record_whole_document = data.record_whole_document();
|
|
|
out->stylus_handwriting_enabled = data.stylus_handwriting_enabled();
|
|
@@ -56,7 +56,7 @@ index bd8a875818192f43d03a975d003ff2a75e6bea41..4971de9cd19e8f76b38c831e103578da
|
|
|
out->accelerated_video_decode_enabled =
|
|
|
data.accelerated_video_decode_enabled();
|
|
|
diff --git a/third_party/blink/public/common/web_preferences/web_preferences.h b/third_party/blink/public/common/web_preferences/web_preferences.h
|
|
|
-index b957ba9c4d99a3dcdd50d1065065c569145b724d..3fa38104285e7e8508f022b3011fdbc223c87d50 100644
|
|
|
+index 46244b8c50a1f00338d3751605105ca8c0601c81..1743d026e372889b725d7cd83b0264da10b50dda 100644
|
|
|
--- a/third_party/blink/public/common/web_preferences/web_preferences.h
|
|
|
+++ b/third_party/blink/public/common/web_preferences/web_preferences.h
|
|
|
@@ -10,6 +10,7 @@
|
|
@@ -67,7 +67,7 @@ index b957ba9c4d99a3dcdd50d1065065c569145b724d..3fa38104285e7e8508f022b3011fdbc2
|
|
|
#include "net/nqe/effective_connection_type.h"
|
|
|
#include "third_party/blink/public/common/common_export.h"
|
|
|
#include "third_party/blink/public/mojom/css/preferred_color_scheme.mojom-shared.h"
|
|
|
-@@ -159,6 +160,19 @@ struct BLINK_COMMON_EXPORT WebPreferences {
|
|
|
+@@ -160,6 +161,19 @@ struct BLINK_COMMON_EXPORT 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;
|
|
@@ -88,7 +88,7 @@ index b957ba9c4d99a3dcdd50d1065065c569145b724d..3fa38104285e7e8508f022b3011fdbc2
|
|
|
// This flags corresponds to a Page's Settings' setCookieEnabled state. It
|
|
|
// only controls whether or not the "document.cookie" field is properly
|
|
|
diff --git a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
|
|
-index f8285905b7ed562d8133612a5edf1d2f35071242..699a265d8d02547fe15132f49364373205db4844 100644
|
|
|
+index e70bc5ea8ec5b518b44493f6ae88cdaa76627c74..bd9fa77df46523fef6a71773334fdf6bded64b1e 100644
|
|
|
--- a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
|
|
+++ b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
|
|
@@ -6,6 +6,7 @@
|
|
@@ -99,7 +99,7 @@ index f8285905b7ed562d8133612a5edf1d2f35071242..699a265d8d02547fe15132f493643732
|
|
|
#include "mojo/public/cpp/bindings/struct_traits.h"
|
|
|
#include "net/nqe/effective_connection_type.h"
|
|
|
#include "third_party/blink/public/common/common_export.h"
|
|
|
-@@ -439,6 +440,52 @@ struct BLINK_COMMON_EXPORT StructTraits<blink::mojom::WebPreferencesDataView,
|
|
|
+@@ -444,6 +445,52 @@ struct BLINK_COMMON_EXPORT StructTraits<blink::mojom::WebPreferencesDataView,
|
|
|
return r.stylus_handwriting_enabled;
|
|
|
}
|
|
|
|
|
@@ -153,7 +153,7 @@ index f8285905b7ed562d8133612a5edf1d2f35071242..699a265d8d02547fe15132f493643732
|
|
|
return r.cookie_enabled;
|
|
|
}
|
|
|
diff --git a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
|
|
-index 99000de33d72a8326e3ef69f6cfc88988e41658a..5456d3cad3e81f2df06afe7dff55ccd46f6aae9c 100644
|
|
|
+index 84a025ece293df84fa080c7fdd6e2b0b33bcefad..40a978ed5ee638d5517d1dea0d4318778e167de2 100644
|
|
|
--- a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
|
|
+++ b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
|
|
@@ -9,6 +9,7 @@ import "third_party/blink/public/mojom/css/preferred_contrast.mojom";
|
|
@@ -164,7 +164,7 @@ index 99000de33d72a8326e3ef69f6cfc88988e41658a..5456d3cad3e81f2df06afe7dff55ccd4
|
|
|
|
|
|
enum PointerType {
|
|
|
kPointerNone = 1, // 1 << 0
|
|
|
-@@ -218,6 +219,19 @@ struct WebPreferences {
|
|
|
+@@ -219,6 +220,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;
|