| 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/WebInputMethodControllerImpl.h" | 7 #include "web/WebInputMethodControllerImpl.h" |
| 8 #include "web/WebLocalFrameImpl.h" | 8 #include "web/WebLocalFrameImpl.h" |
| 9 #include "web/WebViewImpl.h" | 9 #include "web/WebViewImpl.h" |
| 10 | 10 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 216 |
| 217 WebInputMethodControllerImpl* | 217 WebInputMethodControllerImpl* |
| 218 WebViewFrameWidget::getActiveWebInputMethodController() const { | 218 WebViewFrameWidget::getActiveWebInputMethodController() const { |
| 219 return m_webView->getActiveWebInputMethodController(); | 219 return m_webView->getActiveWebInputMethodController(); |
| 220 } | 220 } |
| 221 | 221 |
| 222 void WebViewFrameWidget::scheduleAnimation() { | 222 void WebViewFrameWidget::scheduleAnimation() { |
| 223 m_webView->scheduleAnimationForWidget(); | 223 m_webView->scheduleAnimationForWidget(); |
| 224 } | 224 } |
| 225 | 225 |
| 226 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() { | 226 CompositorProxyClientFactory* |
| 227 return m_webView->createCompositorProxyClient(); | 227 WebViewFrameWidget::compositorProxyClientFactory() { |
| 228 return m_webView->compositorProxyClientFactory(); |
| 228 } | 229 } |
| 229 | 230 |
| 230 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) { | 231 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) { |
| 231 m_webView->setRootGraphicsLayer(layer); | 232 m_webView->setRootGraphicsLayer(layer); |
| 232 } | 233 } |
| 233 | 234 |
| 234 void WebViewFrameWidget::setRootLayer(WebLayer* layer) { | 235 void WebViewFrameWidget::setRootLayer(WebLayer* layer) { |
| 235 m_webView->setRootLayer(layer); | 236 m_webView->setRootLayer(layer); |
| 236 } | 237 } |
| 237 | 238 |
| 238 void WebViewFrameWidget::attachCompositorAnimationTimeline( | 239 void WebViewFrameWidget::attachCompositorAnimationTimeline( |
| 239 CompositorAnimationTimeline* compositorTimeline) { | 240 CompositorAnimationTimeline* compositorTimeline) { |
| 240 m_webView->attachCompositorAnimationTimeline(compositorTimeline); | 241 m_webView->attachCompositorAnimationTimeline(compositorTimeline); |
| 241 } | 242 } |
| 242 | 243 |
| 243 void WebViewFrameWidget::detachCompositorAnimationTimeline( | 244 void WebViewFrameWidget::detachCompositorAnimationTimeline( |
| 244 CompositorAnimationTimeline* compositorTimeline) { | 245 CompositorAnimationTimeline* compositorTimeline) { |
| 245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 246 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
| 246 } | 247 } |
| 247 | 248 |
| 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 249 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 249 return m_webView->coreHitTestResultAt(point); | 250 return m_webView->coreHitTestResultAt(point); |
| 250 } | 251 } |
| 251 | 252 |
| 252 } // namespace blink | 253 } // namespace blink |
| OLD | NEW |