| OLD | NEW |
| 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_PAINTED_SCROLLBAR_LAYER_H_ | 5 #ifndef CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ |
| 6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ | 6 #define CC_LAYERS_PAINTED_SCROLLBAR_LAYER_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 #include "cc/layers/layer.h" | 10 #include "cc/layers/layer.h" |
| 11 #include "cc/layers/scrollbar_layer_interface.h" | 11 #include "cc/layers/scrollbar_layer_interface.h" |
| 12 #include "cc/layers/scrollbar_theme_painter.h" | 12 #include "cc/layers/scrollbar_theme_painter.h" |
| 13 #include "cc/resources/layer_updater.h" | |
| 14 #include "cc/resources/scoped_ui_resource.h" | 13 #include "cc/resources/scoped_ui_resource.h" |
| 15 | 14 |
| 16 namespace cc { | 15 namespace cc { |
| 17 class ScrollbarThemeComposite; | 16 class ScrollbarThemeComposite; |
| 18 | 17 |
| 19 class CC_EXPORT PaintedScrollbarLayer : public ScrollbarLayerInterface, | 18 class CC_EXPORT PaintedScrollbarLayer : public ScrollbarLayerInterface, |
| 20 public Layer { | 19 public Layer { |
| 21 public: | 20 public: |
| 22 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; | 21 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
| 23 | 22 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 99 |
| 101 scoped_ptr<ScopedUIResource> track_resource_; | 100 scoped_ptr<ScopedUIResource> track_resource_; |
| 102 scoped_ptr<ScopedUIResource> thumb_resource_; | 101 scoped_ptr<ScopedUIResource> thumb_resource_; |
| 103 | 102 |
| 104 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer); | 103 DISALLOW_COPY_AND_ASSIGN(PaintedScrollbarLayer); |
| 105 }; | 104 }; |
| 106 | 105 |
| 107 } // namespace cc | 106 } // namespace cc |
| 108 | 107 |
| 109 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ | 108 #endif // CC_LAYERS_PAINTED_SCROLLBAR_LAYER_H_ |
| OLD | NEW |