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

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

Issue 23983047: Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Backup 2013.10.29 Created 7 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 | Annotate | Revision Log
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 "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/input/scrollbar.h" 9 #include "cc/input/scrollbar.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class Layer;
14
13 class CC_EXPORT ScrollbarLayerInterface { 15 class CC_EXPORT ScrollbarLayerInterface {
14 public: 16 public:
15 virtual int ScrollLayerId() const = 0; 17 virtual int ScrollLayerId() const = 0;
16 virtual void SetScrollLayerId(int id) = 0; 18 virtual void SetScrollLayer(scoped_refptr<Layer> layer) = 0;
19 virtual void SetClipLayer(scoped_refptr<Layer> layer) = 0;
17 20
18 virtual ScrollbarOrientation orientation() const = 0; 21 virtual ScrollbarOrientation orientation() const = 0;
19 22
20 protected: 23 protected:
21 ScrollbarLayerInterface() {} 24 ScrollbarLayerInterface() {}
22 virtual ~ScrollbarLayerInterface() {} 25 virtual ~ScrollbarLayerInterface() {}
23 26
24 private: 27 private:
25 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface); 28 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
26 }; 29 };
27 30
28 } // namespace cc 31 } // namespace cc
29 32
30 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ 33 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698