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

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index 1d79168604b9b4875559a280a7b46255eb4f1eec..506f3a2c3d376ceb987df31779067ee4002494af 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -100,10 +100,10 @@ void WebViewFrameWidget::applyViewportDeltas(
const WebFloatSize& layoutViewportDelta,
const WebFloatSize& elasticOverscrollDelta,
float scaleFactor,
- float topControlsShownRatioDelta) {
+ float browserControlsShownRatioDelta) {
return m_webView->applyViewportDeltas(
visualViewportDelta, layoutViewportDelta, elasticOverscrollDelta,
- scaleFactor, topControlsShownRatioDelta);
+ scaleFactor, browserControlsShownRatioDelta);
}
void WebViewFrameWidget::mouseCaptureLost() {
@@ -204,10 +204,11 @@ void WebViewFrameWidget::applyReplacementRange(const WebRange& range) {
m_webView->applyReplacementRange(range);
}
-void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints,
- WebTopControlsState current,
- bool animate) {
- return m_webView->updateTopControlsState(constraints, current, animate);
+void WebViewFrameWidget::updateBrowserControlsState(
+ WebBrowserControlsState constraints,
+ WebBrowserControlsState current,
+ bool animate) {
+ return m_webView->updateBrowserControlsState(constraints, current, animate);
}
void WebViewFrameWidget::setVisibilityState(
« 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