OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
3 // in the LICENSE file. | 3 // in the LICENSE file. |
4 | 4 |
5 #include "web/WebViewFrameWidget.h" | 5 #include "web/WebViewFrameWidget.h" |
6 | 6 |
7 #include "web/WebLocalFrameImpl.h" | 7 #include "web/WebLocalFrameImpl.h" |
8 #include "web/WebViewImpl.h" | 8 #include "web/WebViewImpl.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() | 275 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() |
276 { | 276 { |
277 return m_webView->createCompositorProxyClient(); | 277 return m_webView->createCompositorProxyClient(); |
278 } | 278 } |
279 | 279 |
280 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) | 280 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) |
281 { | 281 { |
282 m_webView->setRootGraphicsLayer(layer); | 282 m_webView->setRootGraphicsLayer(layer); |
283 } | 283 } |
284 | 284 |
| 285 void WebViewFrameWidget::setRootLayer(WebLayer* layer) |
| 286 { |
| 287 m_webView->setRootLayer(layer); |
| 288 } |
| 289 |
285 void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) | 290 void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) |
286 { | 291 { |
287 m_webView->attachCompositorAnimationTimeline(compositorTimeline); | 292 m_webView->attachCompositorAnimationTimeline(compositorTimeline); |
288 } | 293 } |
289 | 294 |
290 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) | 295 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi
meline* compositorTimeline) |
291 { | 296 { |
292 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 297 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
293 } | 298 } |
294 | 299 |
295 } // namespace blink | 300 } // namespace blink |
OLD | NEW |