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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

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
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 4419f0c5a9bc85c9c156bda820d95ee6ba10c10f..616faad3ab55bf1bf654c16c33650c2b75023c24 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -406,12 +406,12 @@ class CORE_EXPORT FrameView final
void invalidatePaintForTickmarks();
- // Since the compositor can resize the viewport due to top controls and
+ // Since the compositor can resize the viewport due to browser controls and
// commit scroll offsets before a WebView::resize occurs, we need to adjust
// our scroll extents to prevent clamping the scroll offsets.
- void setTopControlsViewportAdjustment(float);
- IntSize topControlsSize() const {
- return IntSize(0, ceilf(m_topControlsViewportAdjustment));
+ void setBrowserControlsViewportAdjustment(float);
+ IntSize browserControlsSize() const {
+ return IntSize(0, ceilf(m_browserControlsViewportAdjustment));
}
IntSize maximumScrollOffsetInt() const override;
@@ -989,7 +989,7 @@ class CORE_EXPORT FrameView final
Vector<IntRect> m_tickmarks;
- float m_topControlsViewportAdjustment;
+ float m_browserControlsViewportAdjustment;
bool m_needsUpdateWidgetGeometries;
bool m_needsUpdateViewportIntersection;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698