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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 749333002: Plumbing for frame-specific WebWidgets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years 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
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 6e635506c11255a08dd8d097d175cce1d204cde3..080d23627072e3a2a1c9b8e4e8638356c79de991 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -490,6 +490,12 @@ void ChromeClientImpl::scheduleAnimation()
m_webView->scheduleAnimation();
}
+void ChromeClientImpl::scheduleAnimationForFrame(LocalFrame* localRoot)
+{
+ // FIXME: This will proxy to a WebWidget attached to the WebLocalFrameImpl.
+ scheduleAnimation();
+}
+
IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const
{
IntRect screenRect(rect);
@@ -687,8 +693,9 @@ GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const
return m_webView->graphicsLayerFactory();
}
-void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer)
+void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFrame* localRoot)
{
+ // FIXME: Add call to frame's widget for non-zero frames.
m_webView->setRootGraphicsLayer(rootLayer);
}
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698