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

Side by Side Diff: cc/layers/scrollbar_layer_interface.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/layers/picture_layer.h ('k') | cc/layers/texture_layer_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ 6 #define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/input/scrollbar.h" 10 #include "cc/input/scrollbar.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 class Layer;
15 class LayerImpl;
16
17 class CC_EXPORT ScrollbarLayerInterface { 14 class CC_EXPORT ScrollbarLayerInterface {
18 public: 15 public:
19 virtual int ScrollLayerId() const = 0; 16 virtual int ScrollLayerId() const = 0;
20 virtual void SetScrollLayer(int layer_id) = 0; 17 virtual void SetScrollLayer(int layer_id) = 0;
21 18
22 virtual ScrollbarOrientation orientation() const = 0; 19 virtual ScrollbarOrientation orientation() const = 0;
23 20
24 protected: 21 protected:
25 ScrollbarLayerInterface() {} 22 ScrollbarLayerInterface() {}
26 virtual ~ScrollbarLayerInterface() {} 23 virtual ~ScrollbarLayerInterface() {}
27 24
28 private: 25 private:
29 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface); 26 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
30 }; 27 };
31 28
32 } // namespace cc 29 } // namespace cc
33 30
34 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ 31 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer.h ('k') | cc/layers/texture_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698