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

Unified Diff: cc/top_controls_manager_client.h

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing CC_EXPORT...learn to run try jobs manually Created 7 years, 11 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/top_controls_manager.cc ('k') | cc/top_controls_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/top_controls_manager_client.h
diff --git a/cc/top_controls_manager_client.h b/cc/top_controls_manager_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..f5a34f399f8727494248dbdac90e87934ca1b43e
--- /dev/null
+++ b/cc/top_controls_manager_client.h
@@ -0,0 +1,24 @@
+// Copyright 2013 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_TOP_CONTROLS_MANAGER_CLIENT_H_
+#define CC_TOP_CONTROLS_MANAGER_CLIENT_H_
+
+namespace cc {
+
+class LayerTreeImpl;
+
+class CC_EXPORT TopControlsManagerClient {
+ public:
+ virtual void setNeedsRedraw() = 0;
+ virtual void setNeedsUpdateDrawProperties() = 0;
+ virtual LayerTreeImpl* activeTree() = 0;
+
+ protected:
+ virtual ~TopControlsManagerClient() {}
+};
+
+} // namespace cc
+
+#endif // CC_TOP_CONTROLS_MANAGER_CLIENT_H_
« no previous file with comments | « cc/top_controls_manager.cc ('k') | cc/top_controls_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698