| 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_SOLID_COLOR_SCROLLBAR_LAYER_H_ | 5 #ifndef CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_ |
| 6 #define CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_ | 6 #define CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 9 #include "cc/layers/layer.h" | 10 #include "cc/layers/layer.h" |
| 10 #include "cc/layers/scrollbar_layer_interface.h" | 11 #include "cc/layers/scrollbar_layer_interface.h" |
| 11 | 12 |
| 12 namespace cc { | 13 namespace cc { |
| 13 | 14 |
| 14 class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface, | 15 class CC_EXPORT SolidColorScrollbarLayer : public ScrollbarLayerInterface, |
| 15 public Layer { | 16 public Layer { |
| 16 public: | 17 public: |
| 17 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; | 18 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 int thumb_thickness_; | 54 int thumb_thickness_; |
| 54 int track_start_; | 55 int track_start_; |
| 55 bool is_left_side_vertical_scrollbar_; | 56 bool is_left_side_vertical_scrollbar_; |
| 56 | 57 |
| 57 DISALLOW_COPY_AND_ASSIGN(SolidColorScrollbarLayer); | 58 DISALLOW_COPY_AND_ASSIGN(SolidColorScrollbarLayer); |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace cc | 61 } // namespace cc |
| 61 | 62 |
| 62 #endif // CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_ | 63 #endif // CC_LAYERS_SOLID_COLOR_SCROLLBAR_LAYER_H_ |
| OLD | NEW |