Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 bool WebViewFrameWidget::hasTouchEventHandlersAt(const WebPoint& point) { 94 bool WebViewFrameWidget::hasTouchEventHandlersAt(const WebPoint& point) {
95 return m_webView->hasTouchEventHandlersAt(point); 95 return m_webView->hasTouchEventHandlersAt(point);
96 } 96 }
97 97
98 void WebViewFrameWidget::applyViewportDeltas( 98 void WebViewFrameWidget::applyViewportDeltas(
99 const WebFloatSize& visualViewportDelta, 99 const WebFloatSize& visualViewportDelta,
100 const WebFloatSize& layoutViewportDelta, 100 const WebFloatSize& layoutViewportDelta,
101 const WebFloatSize& elasticOverscrollDelta, 101 const WebFloatSize& elasticOverscrollDelta,
102 float scaleFactor, 102 float scaleFactor,
103 float topControlsShownRatioDelta) { 103 float browserControlsShownRatioDelta) {
104 return m_webView->applyViewportDeltas( 104 return m_webView->applyViewportDeltas(
105 visualViewportDelta, layoutViewportDelta, elasticOverscrollDelta, 105 visualViewportDelta, layoutViewportDelta, elasticOverscrollDelta,
106 scaleFactor, topControlsShownRatioDelta); 106 scaleFactor, browserControlsShownRatioDelta);
107 } 107 }
108 108
109 void WebViewFrameWidget::mouseCaptureLost() { 109 void WebViewFrameWidget::mouseCaptureLost() {
110 return m_webView->mouseCaptureLost(); 110 return m_webView->mouseCaptureLost();
111 } 111 }
112 112
113 void WebViewFrameWidget::setFocus(bool enable) { 113 void WebViewFrameWidget::setFocus(bool enable) {
114 return m_webView->setFocus(enable); 114 return m_webView->setFocus(enable);
115 } 115 }
116 116
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 bool WebViewFrameWidget::getCompositionCharacterBounds( 198 bool WebViewFrameWidget::getCompositionCharacterBounds(
199 WebVector<WebRect>& bounds) { 199 WebVector<WebRect>& bounds) {
200 return m_webView->getCompositionCharacterBounds(bounds); 200 return m_webView->getCompositionCharacterBounds(bounds);
201 } 201 }
202 202
203 void WebViewFrameWidget::applyReplacementRange(const WebRange& range) { 203 void WebViewFrameWidget::applyReplacementRange(const WebRange& range) {
204 m_webView->applyReplacementRange(range); 204 m_webView->applyReplacementRange(range);
205 } 205 }
206 206
207 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints, 207 void WebViewFrameWidget::updateBrowserControlsState(
208 WebTopControlsState current, 208 WebBrowserControlsState constraints,
209 bool animate) { 209 WebBrowserControlsState current,
210 return m_webView->updateTopControlsState(constraints, current, animate); 210 bool animate) {
211 return m_webView->updateBrowserControlsState(constraints, current, animate);
211 } 212 }
212 213
213 void WebViewFrameWidget::setVisibilityState( 214 void WebViewFrameWidget::setVisibilityState(
214 WebPageVisibilityState visibilityState) { 215 WebPageVisibilityState visibilityState) {
215 return m_webView->setVisibilityState(visibilityState, false); 216 return m_webView->setVisibilityState(visibilityState, false);
216 } 217 }
217 218
218 void WebViewFrameWidget::setIsTransparent(bool isTransparent) { 219 void WebViewFrameWidget::setIsTransparent(bool isTransparent) {
219 m_webView->setIsTransparent(isTransparent); 220 m_webView->setIsTransparent(isTransparent);
220 } 221 }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void WebViewFrameWidget::detachCompositorAnimationTimeline( 256 void WebViewFrameWidget::detachCompositorAnimationTimeline(
256 CompositorAnimationTimeline* compositorTimeline) { 257 CompositorAnimationTimeline* compositorTimeline) {
257 m_webView->detachCompositorAnimationTimeline(compositorTimeline); 258 m_webView->detachCompositorAnimationTimeline(compositorTimeline);
258 } 259 }
259 260
260 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { 261 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) {
261 return m_webView->coreHitTestResultAt(point); 262 return m_webView->coreHitTestResultAt(point);
262 } 263 }
263 264
264 } // namespace blink 265 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698