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

Unified Diff: Source/core/dom/ScriptedAnimationController.h

Issue 337883003: Call media query change listeners asynchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests fixed Created 6 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: Source/core/dom/ScriptedAnimationController.h
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h
index c148a2f77cbbd86feffb97416d03434abec31515..c5ef8f5f559aa9dfd2ad547e31a064228e430bc3 100644
--- a/Source/core/dom/ScriptedAnimationController.h
+++ b/Source/core/dom/ScriptedAnimationController.h
@@ -62,11 +62,12 @@ public:
void suspend();
void resume();
+ // Public for use by MediaQueryMatcher
+ void scheduleAnimationIfNeeded();
+
private:
explicit ScriptedAnimationController(Document*);
- void scheduleAnimationIfNeeded();
-
void dispatchEvents();
void executeCallbacks(double monotonicTimeNow);

Powered by Google App Engine
This is Rietveld 408576698