Chromium Code Reviews| Index: Source/web/ChromeClientImpl.cpp |
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
| index 40779d4bdcec44f4db093d7f5bce014a967ddb18..c29e722fd6f2d1e785c22a02a9fe3fae619fbde6 100644 |
| --- a/Source/web/ChromeClientImpl.cpp |
| +++ b/Source/web/ChromeClientImpl.cpp |
| @@ -492,6 +492,12 @@ void ChromeClientImpl::scheduleAnimation() |
| m_webView->scheduleAnimation(); |
| } |
| +void ChromeClientImpl::scheduleAnimationForFrame(LocalFrame* localFrameRoot) |
|
dcheng
2014/11/26 18:20:00
localRoot
kenrb
2014/12/02 17:49:43
Done.
|
| +{ |
| + // FIXME: This will proxy to a WebWidget attached to the WebLocalFrameImpl. |
| + scheduleAnimation(); |
| +} |
| + |
| IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const |
| { |
| IntRect screenRect(rect); |
| @@ -690,8 +696,9 @@ GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const |
| return m_webView->graphicsLayerFactory(); |
| } |
| -void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) |
| +void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFrame* frame) |
|
dcheng
2014/11/26 18:20:00
localRoot
kenrb
2014/12/02 17:49:43
Done.
|
| { |
| + // FIXME: Add call to frame's widget for non-zero frames. |
| m_webView->setRootGraphicsLayer(rootLayer); |
| } |