| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_OVERLAY_SCROLLBAR_LAYER_H_ | 5 #ifndef CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_H_ |
| 6 #define CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_H_ | 6 #define CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/cc_export.h" |
| 10 #include "cc/input/scrollbar.h" | 10 #include "cc/input/scrollbar.h" |
| 11 #include "cc/layers/layer.h" | 11 #include "cc/layers/layer.h" |
| 12 #include "cc/layers/scrollbar_layer_interface.h" | 12 #include "cc/layers/scrollbar_layer_interface.h" |
| 13 #include "cc/layers/scrollbar_theme_painter.h" | 13 #include "cc/layers/scrollbar_theme_painter.h" |
| 14 #include "cc/resources/scoped_ui_resource.h" | 14 #include "cc/resources/scoped_ui_resource.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 class CC_EXPORT PaintedOverlayScrollbarLayer : public ScrollbarLayerInterface, | 18 class CC_EXPORT PaintedOverlayScrollbarLayer : public ScrollbarLayerInterface, |
| 19 public Layer { | 19 public Layer { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 gfx::Rect aperture_; | 68 gfx::Rect aperture_; |
| 69 | 69 |
| 70 std::unique_ptr<ScopedUIResource> thumb_resource_; | 70 std::unique_ptr<ScopedUIResource> thumb_resource_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(PaintedOverlayScrollbarLayer); | 72 DISALLOW_COPY_AND_ASSIGN(PaintedOverlayScrollbarLayer); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace cc | 75 } // namespace cc |
| 76 | 76 |
| 77 #endif // CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_H_ | 77 #endif // CC_LAYERS_PAINTED_OVERLAY_SCROLLBAR_LAYER_H_ |
| OLD | NEW |