| Index: content/public/common/web_preferences.h
|
| diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
|
| index 54b8ed4acbe4b54197c8f720e673abdd918aa0f7..0f32e2240784dc802b6d62e14d272e9f61c73d9b 100644
|
| --- a/content/public/common/web_preferences.h
|
| +++ b/content/public/common/web_preferences.h
|
| @@ -54,6 +54,14 @@ enum ImageAnimationPolicy {
|
|
|
| enum class ViewportStyle { DEFAULT, MOBILE, TELEVISION, LAST = TELEVISION };
|
|
|
| +enum class ProgressBarCompletionOptions {
|
| + LOAD_EVENT,
|
| + RESOURCES_BEFORE_DCL,
|
| + DOM_CONTENT_LOADED,
|
| + RESOURCES_BEFORE_DCL_AND_SAME_ORIGIN_IFRAMES,
|
| + LAST = RESOURCES_BEFORE_DCL_AND_SAME_ORIGIN_IFRAMES
|
| +};
|
| +
|
| // The ISO 15924 script code for undetermined script aka Common. It's the
|
| // default used on WebKit's side to get/set a font setting when no script is
|
| // specified.
|
| @@ -224,6 +232,7 @@ struct CONTENT_EXPORT WebPreferences {
|
| // Used by Android_WebView only to support legacy apps that inject script into
|
| // a top-level initial empty document and expect it to persist on navigation.
|
| bool resue_global_for_unowned_main_frame;
|
| + ProgressBarCompletionOptions progress_bar_completion;
|
| #endif
|
|
|
| // String that describes how media element autoplay behavior should be
|
|
|