| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_H_ | 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_H_ |
| 6 #define CC_LAYERS_SCROLLBAR_LAYER_H_ | 6 #define CC_LAYERS_SCROLLBAR_LAYER_H_ |
| 7 | 7 |
| 8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
| 9 #include "cc/layers/contents_scaling_layer.h" | 9 #include "cc/layers/contents_scaling_layer.h" |
| 10 #include "cc/layers/scrollbar_theme_painter.h" | 10 #include "cc/layers/scrollbar_theme_painter.h" |
| 11 #include "cc/resources/layer_updater.h" | 11 #include "cc/resources/layer_updater.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbar.h" | 12 #include "third_party/WebKit/public/platform/WebScrollbar.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGe
ometry.h" | 13 #include "third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 class CachingBitmapContentLayerUpdater; | 16 class CachingBitmapContentLayerUpdater; |
| 17 class ResourceUpdateQueue; | 17 class ResourceUpdateQueue; |
| 18 class Scrollbar; | 18 class Scrollbar; |
| 19 class ScrollbarThemeComposite; | 19 class ScrollbarThemeComposite; |
| 20 | 20 |
| 21 class CC_EXPORT ScrollbarLayer : public ContentsScalingLayer { | 21 class CC_EXPORT ScrollbarLayer : public ContentsScalingLayer { |
| 22 public: | 22 public: |
| 23 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) | 23 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 scoped_ptr<LayerUpdater::Resource> back_track_; | 94 scoped_ptr<LayerUpdater::Resource> back_track_; |
| 95 scoped_ptr<LayerUpdater::Resource> fore_track_; | 95 scoped_ptr<LayerUpdater::Resource> fore_track_; |
| 96 scoped_ptr<LayerUpdater::Resource> thumb_; | 96 scoped_ptr<LayerUpdater::Resource> thumb_; |
| 97 | 97 |
| 98 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayer); | 98 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayer); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace cc | 101 } // namespace cc |
| 102 | 102 |
| 103 #endif // CC_LAYERS_SCROLLBAR_LAYER_H_ | 103 #endif // CC_LAYERS_SCROLLBAR_LAYER_H_ |
| OLD | NEW |