| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 WebInputMethodControllerImpl* | 209 WebInputMethodControllerImpl* |
| 210 WebViewFrameWidget::getActiveWebInputMethodController() const { | 210 WebViewFrameWidget::getActiveWebInputMethodController() const { |
| 211 return m_webView->getActiveWebInputMethodController(); | 211 return m_webView->getActiveWebInputMethodController(); |
| 212 } | 212 } |
| 213 | 213 |
| 214 void WebViewFrameWidget::scheduleAnimation() { | 214 void WebViewFrameWidget::scheduleAnimation() { |
| 215 m_webView->scheduleAnimationForWidget(); | 215 m_webView->scheduleAnimationForWidget(); |
| 216 } | 216 } |
| 217 | 217 |
| 218 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() { | 218 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient( |
| 219 return m_webView->createCompositorProxyClient(); | 219 CompositorProxyClient::Type type) { |
| 220 return m_webView->createCompositorProxyClient(type); |
| 220 } | 221 } |
| 221 | 222 |
| 222 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) { | 223 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) { |
| 223 m_webView->setRootGraphicsLayer(layer); | 224 m_webView->setRootGraphicsLayer(layer); |
| 224 } | 225 } |
| 225 | 226 |
| 226 void WebViewFrameWidget::setRootLayer(WebLayer* layer) { | 227 void WebViewFrameWidget::setRootLayer(WebLayer* layer) { |
| 227 m_webView->setRootLayer(layer); | 228 m_webView->setRootLayer(layer); |
| 228 } | 229 } |
| 229 | 230 |
| 230 WebLayerTreeView* WebViewFrameWidget::getLayerTreeView() const { | 231 WebLayerTreeView* WebViewFrameWidget::getLayerTreeView() const { |
| 231 return m_webView->layerTreeView(); | 232 return m_webView->layerTreeView(); |
| 232 } | 233 } |
| 233 | 234 |
| 234 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { | 235 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { |
| 235 return m_webView->animationHost(); | 236 return m_webView->animationHost(); |
| 236 } | 237 } |
| 237 | 238 |
| 238 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 239 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 239 return m_webView->coreHitTestResultAt(point); | 240 return m_webView->coreHitTestResultAt(point); |
| 240 } | 241 } |
| 241 | 242 |
| 242 } // namespace blink | 243 } // namespace blink |
| OLD | NEW |