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

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: Remove unneeded variables on ProgressTracker Created 4 years, 6 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 33f5fcec7eaacfa25e70b052b9d6a4ac2b7f7196..702345583973caf7c52579d35300094651f307f2 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -73,6 +73,13 @@ public:
Aggressive,
};
+ enum class ProgressBarCompletion {
+ LoadEvent,
+ ResourcesBeforeDCL,
+ DOMContentLoaded,
+ ResourcesBeforeDCLAndSameOriginIFrames
+ };
+
// Selection strategy defines how the selection granularity changes when the
// selection extent is moved.
enum class SelectionStrategyType {
@@ -182,6 +189,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