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

Unified Diff: Source/core/page/Chrome.cpp

Issue 749333002: Plumbing for frame-specific WebWidgets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dcheng review comments Created 6 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: Source/core/page/Chrome.cpp
diff --git a/Source/core/page/Chrome.cpp b/Source/core/page/Chrome.cpp
index dce9bbb2f2da2e50a6fdd2377d68edbf23f24e71..f42e2b1ea8b604d340b278f4a234030dd5bbc5e1 100644
--- a/Source/core/page/Chrome.cpp
+++ b/Source/core/page/Chrome.cpp
@@ -372,6 +372,12 @@ void Chrome::scheduleAnimation()
// --------
+void Chrome::scheduleAnimationForFrame(LocalFrame* localFrameRoot)
+{
+ m_page->animator().setAnimationFramePending();
+ m_client->scheduleAnimationForFrame(localFrameRoot);
+}
+
bool Chrome::hasOpenedPopup() const
{
return m_client->hasOpenedPopup();

Powered by Google App Engine
This is Rietveld 408576698