Index: content/public/common/web_preferences.cc |
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc |
index 21411ea4c0836dbfac63dc6791e2695e699fac8d..f0703241c5f604f3a7d9c342d0ee8bc9a0c80a99 100644 |
--- a/content/public/common/web_preferences.cc |
+++ b/content/public/common/web_preferences.cc |
@@ -33,6 +33,16 @@ STATIC_ASSERT_ENUM(V8_CACHE_OPTIONS_PARSE, WebSettings::V8CacheOptionsParse); |
STATIC_ASSERT_ENUM(V8_CACHE_OPTIONS_CODE, WebSettings::V8CacheOptionsCode); |
STATIC_ASSERT_ENUM(V8_CACHE_OPTIONS_LAST, WebSettings::V8CacheOptionsCode); |
+STATIC_ASSERT_ENUM(ProgressBarCompletion::LOAD_EVENT, |
+ WebSettings::ProgressBarCompletion::LoadEvent); |
+STATIC_ASSERT_ENUM(ProgressBarCompletion::RESOURCES_BEFORE_DCL, |
+ WebSettings::ProgressBarCompletion::ResourcesBeforeDCL); |
+STATIC_ASSERT_ENUM(ProgressBarCompletion::DOM_CONTENT_LOADED, |
+ WebSettings::ProgressBarCompletion::DOMContentLoaded); |
+STATIC_ASSERT_ENUM( |
+ ProgressBarCompletion::RESOURCES_BEFORE_DCL_AND_SAME_ORIGIN_IFRAMES, |
+ WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); |
+ |
STATIC_ASSERT_ENUM(IMAGE_ANIMATION_POLICY_ALLOWED, |
WebSettings::ImageAnimationPolicyAllowed); |
STATIC_ASSERT_ENUM(IMAGE_ANIMATION_POLICY_ANIMATION_ONCE, |
@@ -197,6 +207,7 @@ WebPreferences::WebPreferences() |
report_screen_size_in_physical_pixels_quirk(false), |
resue_global_for_unowned_main_frame(false), |
autoplay_muted_videos_enabled(false), |
+ progress_bar_completion(ProgressBarCompletion::LOAD_EVENT), |
#endif |
#if defined(OS_ANDROID) |
default_minimum_page_scale_factor(0.25f), |