Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: third_party/WebKit/public/web/WebSettings.h

Issue 1860743002: Add a flag to change when android's progress bar completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum classes, et al. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebSettings.h
diff --git a/third_party/WebKit/public/web/WebSettings.h b/third_party/WebKit/public/web/WebSettings.h
index f215571a484abbe5daa99c9b5486bbdbe07727c9..842a75cbeebe0fe3626f188842efbdf7428a7f98 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -73,6 +73,12 @@ public:
Aggressive,
};
+ enum class ProgressBarCompletion {
+ LoadEvent,
+ DOMContentLoadedAndImages,
+ DOMContentLoaded,
+ };
+
// Selection strategy defines how the selection granularity changes when the
// selection extent is moved.
enum class SelectionStrategyType {
@@ -172,6 +178,7 @@ public:
virtual void setLoadsImagesAutomatically(bool) = 0;
virtual void setLoadWithOverviewMode(bool) = 0;
virtual void setShouldReuseGlobalForUnownedMainFrame(bool) = 0;
+ virtual void setProgressBarCompletion(ProgressBarCompletion) = 0;
virtual void setLocalStorageEnabled(bool) = 0;
virtual void setMainFrameClipsContent(bool) = 0;
virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;

Powered by Google App Engine
This is Rietveld 408576698