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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1911273002: Don't restart the ImageQualityController timer unless it is already half over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index f2ec44ba39007f11082721c502c30606c9df06ba..69efd65ed0ea6620d5af1fd56014692f8b7fcd42 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -277,6 +277,9 @@ public:
virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
+ // Returns the time of the beginning of the last beginFrame, in seconds, if any, and 0.0 otherwise.
+ virtual double lastFrameTimeMonotonic() const { return 0.0; }
+
protected:
~ChromeClient() override { }

Powered by Google App Engine
This is Rietveld 408576698