| 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_TEST_FAKE_SCROLLBAR_H_ | 5 #ifndef CC_TEST_FAKE_SCROLLBAR_H_ |
| 6 #define CC_TEST_FAKE_SCROLLBAR_H_ | 6 #define CC_TEST_FAKE_SCROLLBAR_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "cc/input/scrollbar.h" | 10 #include "cc/input/scrollbar.h" |
| 10 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 11 | 12 |
| 12 namespace cc { | 13 namespace cc { |
| 13 | 14 |
| 14 class FakeScrollbar : public Scrollbar { | 15 class FakeScrollbar : public Scrollbar { |
| 15 public: | 16 public: |
| 16 FakeScrollbar(); | 17 FakeScrollbar(); |
| 17 FakeScrollbar(bool paint, bool has_thumb, bool is_overlay); | 18 FakeScrollbar(bool paint, bool has_thumb, bool is_overlay); |
| 18 ~FakeScrollbar() override; | 19 ~FakeScrollbar() override; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 gfx::Point location_; | 62 gfx::Point location_; |
| 62 gfx::Rect track_rect_; | 63 gfx::Rect track_rect_; |
| 63 SkColor fill_color_; | 64 SkColor fill_color_; |
| 64 | 65 |
| 65 DISALLOW_COPY_AND_ASSIGN(FakeScrollbar); | 66 DISALLOW_COPY_AND_ASSIGN(FakeScrollbar); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 } // namespace cc | 69 } // namespace cc |
| 69 | 70 |
| 70 #endif // CC_TEST_FAKE_SCROLLBAR_H_ | 71 #endif // CC_TEST_FAKE_SCROLLBAR_H_ |
| OLD | NEW |