| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 } | 203 } |
| 204 | 204 |
| 205 bool WebViewFrameWidget::isTransparent() const { | 205 bool WebViewFrameWidget::isTransparent() const { |
| 206 return m_webView->isTransparent(); | 206 return m_webView->isTransparent(); |
| 207 } | 207 } |
| 208 | 208 |
| 209 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) { | 209 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) { |
| 210 m_webView->setBaseBackgroundColor(color); | 210 m_webView->setBaseBackgroundColor(color); |
| 211 } | 211 } |
| 212 | 212 |
| 213 WebLocalFrameImpl* WebViewFrameWidget::localRoot() { | 213 WebLocalFrameImpl* WebViewFrameWidget::localRoot() const { |
| 214 return m_webView->mainFrameImpl(); | 214 return m_webView->mainFrameImpl(); |
| 215 } | 215 } |
| 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(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 243 void WebViewFrameWidget::detachCompositorAnimationTimeline( | 243 void WebViewFrameWidget::detachCompositorAnimationTimeline( |
| 244 CompositorAnimationTimeline* compositorTimeline) { | 244 CompositorAnimationTimeline* compositorTimeline) { |
| 245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 245 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
| 246 } | 246 } |
| 247 | 247 |
| 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 249 return m_webView->coreHitTestResultAt(point); | 249 return m_webView->coreHitTestResultAt(point); |
| 250 } | 250 } |
| 251 | 251 |
| 252 } // namespace blink | 252 } // namespace blink |
| OLD | NEW |