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

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

Issue 1477353002: Revert of Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/Page.h
diff --git a/third_party/WebKit/Source/core/page/Page.h b/third_party/WebKit/Source/core/page/Page.h
index 1ce3024aae3854c3c3b26056b845e6831d513f94..15cfbc5d8bf6def7abcf5bd81146bf311e9cfa29 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -185,6 +185,8 @@
bool isPainting() const { return m_isPainting; }
#endif
+ double timerAlignmentInterval() const;
+
class CORE_EXPORT MultisamplingChangedObserver : public WillBeGarbageCollectedMixin {
public:
virtual void multisamplingChanged(bool) = 0;
@@ -210,6 +212,8 @@
private:
void initGroup();
+
+ void setTimerAlignmentInterval(double);
void setNeedsLayoutInAllFrames();
@@ -257,6 +261,8 @@
float m_deviceScaleFactor;
+ double m_timerAlignmentInterval;
+
PageVisibilityState m_visibilityState;
bool m_isCursorVisible;
« no previous file with comments | « third_party/WebKit/Source/core/frame/SuspendableTimer.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698