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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const WebFloatSize& visualViewportDelta, | 100 const WebFloatSize& visualViewportDelta, |
101 const WebFloatSize& layoutViewportDelta, | 101 const WebFloatSize& layoutViewportDelta, |
102 const WebFloatSize& elasticOverscrollDelta, | 102 const WebFloatSize& elasticOverscrollDelta, |
103 float scaleFactor, | 103 float scaleFactor, |
104 float browserControlsShownRatioDelta) { | 104 float browserControlsShownRatioDelta) { |
105 return m_webView->applyViewportDeltas( | 105 return m_webView->applyViewportDeltas( |
106 visualViewportDelta, layoutViewportDelta, elasticOverscrollDelta, | 106 visualViewportDelta, layoutViewportDelta, elasticOverscrollDelta, |
107 scaleFactor, browserControlsShownRatioDelta); | 107 scaleFactor, browserControlsShownRatioDelta); |
108 } | 108 } |
109 | 109 |
| 110 void WebViewFrameWidget::recordWheelAndTouchScrollingCount( |
| 111 bool hasScrolledByWheel, |
| 112 bool hasScrolledByTouch) { |
| 113 return m_webView->recordWheelAndTouchScrollingCount(hasScrolledByWheel, |
| 114 hasScrolledByTouch); |
| 115 } |
| 116 |
110 void WebViewFrameWidget::mouseCaptureLost() { | 117 void WebViewFrameWidget::mouseCaptureLost() { |
111 return m_webView->mouseCaptureLost(); | 118 return m_webView->mouseCaptureLost(); |
112 } | 119 } |
113 | 120 |
114 void WebViewFrameWidget::setFocus(bool enable) { | 121 void WebViewFrameWidget::setFocus(bool enable) { |
115 return m_webView->setFocus(enable); | 122 return m_webView->setFocus(enable); |
116 } | 123 } |
117 | 124 |
118 WebRange WebViewFrameWidget::compositionRange() { | 125 WebRange WebViewFrameWidget::compositionRange() { |
119 return m_webView->compositionRange(); | 126 return m_webView->compositionRange(); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 230 |
224 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { | 231 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { |
225 return m_webView->animationHost(); | 232 return m_webView->animationHost(); |
226 } | 233 } |
227 | 234 |
228 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { | 235 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { |
229 return m_webView->coreHitTestResultAt(point); | 236 return m_webView->coreHitTestResultAt(point); |
230 } | 237 } |
231 | 238 |
232 } // namespace blink | 239 } // namespace blink |
OLD | NEW |