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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.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/public/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index 23243a62d6648a4aa1af85f4dcd2b17a06d8f95d..f437e186f59c1d041486b826e75efc960747f2f8 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -26,13 +26,13 @@
#ifndef WebLayerTreeView_h
#define WebLayerTreeView_h
+#include "WebBrowserControlsState.h"
#include "WebColor.h"
#include "WebCommon.h"
#include "WebCompositorMutatorClient.h"
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebSize.h"
-#include "WebTopControlsState.h"
class SkBitmap;
@@ -104,18 +104,18 @@ class WebLayerTreeView {
virtual void heuristicsForGpuRasterizationUpdated(bool) {}
- // Sets the amount that the top controls are showing, from 0 (hidden) to 1
+ // Sets the amount that the browser controls are showing, from 0 (hidden) to 1
// (fully shown).
- virtual void setTopControlsShownRatio(float) {}
+ virtual void setBrowserControlsShownRatio(float) {}
- // Update top controls permitted and current states
- virtual void updateTopControlsState(WebTopControlsState constraints,
- WebTopControlsState current,
- bool animate) {}
+ // Update browser controls permitted and current states
+ virtual void updateBrowserControlsState(WebBrowserControlsState constraints,
+ WebBrowserControlsState current,
+ bool animate) {}
- // Set top controls height. If |shrinkViewport| is set to true, then Blink
- // shrunk the viewport clip layers by the top controls height.
- virtual void setTopControlsHeight(float height, bool shrinkViewport) {}
+ // Set browser controls height. If |shrinkViewport| is set to true, then Blink
+ // shrunk the viewport clip layers by the browser controls height.
+ virtual void setBrowserControlsHeight(float height, bool shrinkViewport) {}
// Flow control and scheduling ---------------------------------------
« no previous file with comments | « third_party/WebKit/public/platform/WebBrowserControlsState.h ('k') | third_party/WebKit/public/platform/WebTopControlsState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698