Index: content/public/common/web_preferences.cc |
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc |
index aec5d7471e26016d83d095cd5c4bd5f7d2a3e770..7820af36af1b22e9c8dbb786bc31fddaf3f2125c 100644 |
--- a/content/public/common/web_preferences.cc |
+++ b/content/public/common/web_preferences.cc |
@@ -40,6 +40,20 @@ COMPILE_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_CODE, |
COMPILE_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_LAST, |
WebSettings::V8CacheOptionsCode); |
+COMPILE_ASSERT_MATCHING_ENUMS(POINTER_TYPE_NONE, |
+ WebSettings::PointerTypeNone); |
+COMPILE_ASSERT_MATCHING_ENUMS(POINTER_TYPE_COARSE, |
+ WebSettings::PointerTypeCoarse); |
+COMPILE_ASSERT_MATCHING_ENUMS(POINTER_TYPE_FINE, |
+ WebSettings::PointerTypeFine); |
+ |
+COMPILE_ASSERT_MATCHING_ENUMS(HOVER_TYPE_NONE, |
+ WebSettings::HoverTypeNone); |
+COMPILE_ASSERT_MATCHING_ENUMS(HOVER_TYPE_ON_DEMAND, |
+ WebSettings::HoverTypeOnDemand); |
+COMPILE_ASSERT_MATCHING_ENUMS(HOVER_TYPE_HOVER, |
+ WebSettings::HoverTypeHover); |
+ |
WebPreferences::WebPreferences() |
: default_font_size(16), |
default_fixed_font_size(13), |
@@ -107,6 +121,10 @@ WebPreferences::WebPreferences() |
device_supports_mouse(true), |
touch_adjustment_enabled(true), |
pointer_events_max_touch_points(0), |
+ available_pointer_types(0), |
+ primary_pointer_type(POINTER_TYPE_NONE), |
+ available_hover_types(0), |
+ primary_hover_type(HOVER_TYPE_NONE), |
sync_xhr_in_documents_enabled(true), |
deferred_image_decoding_enabled(false), |
should_respect_image_orientation(false), |