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

Unified Diff: cc/input/browser_controls_offset_manager_client.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 | « cc/input/browser_controls_offset_manager.cc ('k') | cc/input/browser_controls_offset_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/browser_controls_offset_manager_client.h
diff --git a/cc/input/browser_controls_offset_manager_client.h b/cc/input/browser_controls_offset_manager_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..47834a8ba1ad05f7b3b875b4a6920ab06766d627
--- /dev/null
+++ b/cc/input/browser_controls_offset_manager_client.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_CLIENT_H_
+#define CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_CLIENT_H_
+
+namespace cc {
+
+class LayerTreeImpl;
+
+class CC_EXPORT BrowserControlsOffsetManagerClient {
+ public:
+ virtual float TopControlsHeight() const = 0;
+ virtual float BottomControlsHeight() const = 0;
+ virtual void SetCurrentBrowserControlsShownRatio(float ratio) = 0;
+ virtual float CurrentBrowserControlsShownRatio() const = 0;
+ virtual void DidChangeBrowserControlsPosition() = 0;
+ virtual bool HaveRootScrollLayer() const = 0;
+
+ protected:
+ virtual ~BrowserControlsOffsetManagerClient() {}
+};
+
+} // namespace cc
+
+#endif // CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_CLIENT_H_
« no previous file with comments | « cc/input/browser_controls_offset_manager.cc ('k') | cc/input/browser_controls_offset_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698