Chromium Code Reviews| Index: content/public/common/web_preferences.h |
| diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h |
| index 3ce2dcc08d5737361520cb7dab67ccd0e13b872c..751f092dbfb86909d6c9b85888dced140d6d0503 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 ProgressBarCompletion { |
|
kinuko
2016/06/16 05:59:03
nit: add a comment?
Nate Chapin
2016/06/16 20:58:51
Done.
|
| + 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. |
| @@ -226,6 +234,7 @@ struct CONTENT_EXPORT WebPreferences { |
| // a top-level initial empty document and expect it to persist on navigation. |
| bool resue_global_for_unowned_main_frame; |
| bool autoplay_muted_videos_enabled; |
| + ProgressBarCompletion progress_bar_completion; |
| #endif |
| // String that describes how media element autoplay behavior should be |