| 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_SCROLLBAR_LAYER_IMPL_H_ | 5 #ifndef CC_SCROLLBAR_LAYER_IMPL_H_ |
| 6 #define CC_SCROLLBAR_LAYER_IMPL_H_ | 6 #define CC_SCROLLBAR_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include "cc/cc_export.h" | 8 #include "cc/cc_export.h" |
| 9 #include "cc/scrollbar_geometry_fixed_thumb.h" | 9 #include "cc/scrollbar_geometry_fixed_thumb.h" |
| 10 #include "cc/scrollbar_layer_impl_base.h" | 10 #include "cc/scrollbar_layer_impl_base.h" |
| 11 #include <public/WebRect.h> | 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
| 12 #include <public/WebVector.h> | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class ScrollView; | 16 class ScrollView; |
| 17 | 17 |
| 18 class CC_EXPORT ScrollbarLayerImpl : public ScrollbarLayerImplBase { | 18 class CC_EXPORT ScrollbarLayerImpl : public ScrollbarLayerImplBase { |
| 19 public: | 19 public: |
| 20 static scoped_ptr<ScrollbarLayerImpl> create(LayerTreeImpl* treeImpl, int id
); | 20 static scoped_ptr<ScrollbarLayerImpl> create(LayerTreeImpl* treeImpl, int id
); |
| 21 virtual ~ScrollbarLayerImpl(); | 21 virtual ~ScrollbarLayerImpl(); |
| 22 | 22 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 bool m_isScrollableAreaActive; | 102 bool m_isScrollableAreaActive; |
| 103 bool m_isScrollViewScrollbar; | 103 bool m_isScrollViewScrollbar; |
| 104 bool m_enabled; | 104 bool m_enabled; |
| 105 bool m_isCustomScrollbar; | 105 bool m_isCustomScrollbar; |
| 106 bool m_isOverlayScrollbar; | 106 bool m_isOverlayScrollbar; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } | 109 } |
| 110 #endif // CC_SCROLLBAR_LAYER_IMPL_H_ | 110 #endif // CC_SCROLLBAR_LAYER_IMPL_H_ |
| OLD | NEW |