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 54b8ed4acbe4b54197c8f720e673abdd918aa0f7..9f8e617af53c09945b87b6779a9a545ad70eb972 100644 |
| --- a/content/public/common/web_preferences.h |
| +++ b/content/public/common/web_preferences.h |
| @@ -54,6 +54,13 @@ enum ImageAnimationPolicy { |
| enum class ViewportStyle { DEFAULT, MOBILE, TELEVISION, LAST = TELEVISION }; |
| +enum ProgressBarCompletionOptions { |
| + PROGRESS_BAR_COMPLETION_LOAD_EVENT, |
|
dcheng
2016/05/10 06:28:50
enum class? =)
Nate Chapin
2016/05/11 00:06:58
Done.
|
| + PROGRESS_BAR_COMPLETION_DOM_CONTENT_LOADED_AND_IMAGES, |
| + PROGRESS_BAR_COMPLETION_DOM_CONTENT_LOADED, |
| + PROGRESS_BAR_COMPLETION_LAST = PROGRESS_BAR_COMPLETION_DOM_CONTENT_LOADED |
| +}; |
| + |
| // 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 +231,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 |