| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 } | 221 } |
| 222 | 222 |
| 223 bool WebViewFrameWidget::isTransparent() const { | 223 bool WebViewFrameWidget::isTransparent() const { |
| 224 return m_webView->isTransparent(); | 224 return m_webView->isTransparent(); |
| 225 } | 225 } |
| 226 | 226 |
| 227 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) { | 227 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) { |
| 228 m_webView->setBaseBackgroundColor(color); | 228 m_webView->setBaseBackgroundColor(color); |
| 229 } | 229 } |
| 230 | 230 |
| 231 WebLocalFrameImpl* WebViewFrameWidget::localRoot() { | 231 WebLocalFrameImpl* WebViewFrameWidget::localRoot() const { |
| 232 return m_webView->mainFrameImpl(); | 232 return m_webView->mainFrameImpl(); |
| 233 } | 233 } |
| 234 | 234 |
| 235 void WebViewFrameWidget::scheduleAnimation() { | 235 void WebViewFrameWidget::scheduleAnimation() { |
| 236 m_webView->scheduleAnimationForWidget(); | 236 m_webView->scheduleAnimationForWidget(); |
| 237 } | 237 } |
| 238 | 238 |
| 239 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() { | 239 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() { |
| 240 return m_webView->createCompositorProxyClient(); | 240 return m_webView->createCompositorProxyClient(); |
| 241 } | 241 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 256 void WebViewFrameWidget::detachCompositorAnimationTimeline( | 256 void WebViewFrameWidget::detachCompositorAnimationTimeline( |
| 257 CompositorAnimationTimeline* compositorTimeline) { | 257 CompositorAnimationTimeline* compositorTimeline) { |
| 258 m_webView->detachCompositorAnimationTimeline(compositorTimeline); | 258 m_webView->detachCompositorAnimationTimeline(compositorTimeline); |
| 259 } | 259 } |
| 260 | 260 |
| 261 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 261 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
| 262 return m_webView->coreHitTestResultAt(point); | 262 return m_webView->coreHitTestResultAt(point); |
| 263 } | 263 } |
| 264 | 264 |
| 265 } // namespace blink | 265 } // namespace blink |
| OLD | NEW |