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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 2625883bd730b4c6f3ce2e1f62e39ebb9877892a..1898818dca4ffa1fa94aad0181a5cb72f697bc1f 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -70,6 +70,7 @@
namespace blink {
+class BrowserControls;
class DataObject;
class DevToolsEmulator;
class Frame;
@@ -79,7 +80,6 @@ class LinkHighlightImpl;
class PageOverlay;
class PageScaleConstraintsSet;
class PaintLayerCompositor;
-class TopControls;
class UserGestureToken;
class WebActiveGestureAnimation;
class WebDevToolsAgentImpl;
@@ -133,7 +133,7 @@ class WEB_EXPORT WebViewImpl final
const WebFloatSize& layoutViewportDelta,
const WebFloatSize& elasticOverscrollDelta,
float pageScaleDelta,
- float topControlsShownRatioDelta) override;
+ float browserControlsShownRatioDelta) override;
void mouseCaptureLost() override;
void setFocus(bool enable) override;
bool setComposition(const WebString& text,
@@ -177,9 +177,9 @@ class WEB_EXPORT WebViewImpl final
void setDomainRelaxationForbidden(bool, const WebString& scheme) override;
void setWindowFeatures(const WebWindowFeatures&) override;
void setOpenedByDOM() override;
- void resizeWithTopControls(const WebSize&,
- float topControlsHeight,
- bool topControlsShrinkLayout) override;
+ void resizeWithBrowserControls(const WebSize&,
+ float browserControlsHeight,
+ bool browserControlsShrinkLayout) override;
WebFrame* mainFrame() override;
WebFrame* findFrameByName(const WebString& name,
WebFrame* relativeToFrame) override;
@@ -489,13 +489,14 @@ class WEB_EXPORT WebViewImpl final
return m_matchesHeuristicsForGpuRasterization;
}
- void updateTopControlsState(WebTopControlsState constraint,
- WebTopControlsState current,
- bool animate) override;
+ void updateBrowserControlsState(WebBrowserControlsState constraint,
+ WebBrowserControlsState current,
+ bool animate) override;
- TopControls& topControls();
- // Called anytime top controls layout height or content offset have changed.
- void didUpdateTopControls();
+ BrowserControls& browserControls();
+ // Called anytime browser controls layout height or content offset have
+ // changed.
+ void didUpdateBrowserControls();
void forceNextWebGLContextCreationToFail() override;
void forceNextDrawingBufferCreationToFail() override;
@@ -531,8 +532,8 @@ class WEB_EXPORT WebViewImpl final
void performResize();
void resizeViewWhileAnchored(FrameView*,
- float topControlsHeight,
- bool topControlsShrinkLayout);
+ float browserControlsHeight,
+ bool browserControlsShrinkLayout);
// Overrides the compositor visibility. See the description of
// m_overrideCompositorVisibility for more details.
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698