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_IMPL_H_ | 5 #ifndef CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ |
6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ | 6 #define CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layers/layer_impl.h" | 9 #include "cc/layers/layer_impl.h" |
10 #include "cc/layers/scrollbar_geometry_fixed_thumb.h" | 10 #include "cc/layers/scrollbar_geometry_fixed_thumb.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 11 #include "third_party/WebKit/public/platform/WebRect.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 12 #include "third_party/WebKit/public/platform/WebVector.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class LayerTreeImpl; | 16 class LayerTreeImpl; |
17 class ScrollView; | 17 class ScrollView; |
18 | 18 |
19 class CC_EXPORT ScrollbarLayerImpl : public LayerImpl { | 19 class CC_EXPORT ScrollbarLayerImpl : public LayerImpl { |
20 public: | 20 public: |
21 static scoped_ptr<ScrollbarLayerImpl> Create( | 21 static scoped_ptr<ScrollbarLayerImpl> Create( |
22 LayerTreeImpl* tree_impl, | 22 LayerTreeImpl* tree_impl, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 bool is_scroll_view_scrollbar_; | 143 bool is_scroll_view_scrollbar_; |
144 bool enabled_; | 144 bool enabled_; |
145 bool is_custom_scrollbar_; | 145 bool is_custom_scrollbar_; |
146 bool is_overlay_scrollbar_; | 146 bool is_overlay_scrollbar_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImpl); | 148 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImpl); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace cc | 151 } // namespace cc |
152 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ | 152 #endif // CC_LAYERS_SCROLLBAR_LAYER_IMPL_H_ |
OLD | NEW |