OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ |
| 6 #define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ |
| 7 |
| 8 #include "cc/input/scrollbar.h" |
| 9 |
| 10 namespace cc { |
| 11 |
| 12 class ScrollbarLayerInterface { |
| 13 public: |
| 14 virtual int scroll_layer_id() const = 0; |
| 15 virtual void SetScrollLayerId(int id) = 0; |
| 16 |
| 17 virtual ScrollbarOrientation orientation() const = 0; |
| 18 |
| 19 protected: |
| 20 ScrollbarLayerInterface() {} |
| 21 virtual ~ScrollbarLayerInterface() {} |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface); |
| 25 }; |
| 26 |
| 27 } // namespace cc |
| 28 |
| 29 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_ |
OLD | NEW |