Adding Peter Thatcher to the owners file.
[chromium-blink-merge.git] / cc / layers / scrollbar_layer_interface.h
blobe76fc27aeb7f4859c885d09cdded320d6fcbe713
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
3 // found in the LICENSE file.
5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
8 #include "cc/base/cc_export.h"
9 #include "cc/input/scrollbar.h"
11 namespace cc {
13 class Layer;
14 class LayerImpl;
16 class CC_EXPORT ScrollbarLayerInterface {
17 public:
18 virtual int ScrollLayerId() const = 0;
19 virtual void SetScrollLayer(int layer_id) = 0;
20 virtual void SetClipLayer(int layer_id) = 0;
21 virtual void PushScrollClipPropertiesTo(LayerImpl* layer) = 0;
23 virtual ScrollbarOrientation orientation() const = 0;
25 protected:
26 ScrollbarLayerInterface() {}
27 virtual ~ScrollbarLayerInterface() {}
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
33 } // namespace cc
35 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_