| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PAINTED_SCROLLBAR_LAYER_H_ | 5 #ifndef CC_TEST_FAKE_PAINTED_SCROLLBAR_LAYER_H_ |
| 6 #define CC_TEST_FAKE_PAINTED_SCROLLBAR_LAYER_H_ | 6 #define CC_TEST_FAKE_PAINTED_SCROLLBAR_LAYER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/layers/painted_scrollbar_layer.h" | 11 #include "cc/layers/painted_scrollbar_layer.h" |
| 10 #include "cc/test/fake_scrollbar.h" | 12 #include "cc/test/fake_scrollbar.h" |
| 11 | 13 |
| 12 namespace base { template<typename T> class AutoReset; } | 14 namespace base { template<typename T> class AutoReset; } |
| 13 | 15 |
| 14 namespace cc { | 16 namespace cc { |
| 15 | 17 |
| 16 class FakePaintedScrollbarLayer : public PaintedScrollbarLayer { | 18 class FakePaintedScrollbarLayer : public PaintedScrollbarLayer { |
| 17 public: | 19 public: |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 ~FakePaintedScrollbarLayer() override; | 54 ~FakePaintedScrollbarLayer() override; |
| 53 | 55 |
| 54 int update_count_; | 56 int update_count_; |
| 55 size_t push_properties_count_; | 57 size_t push_properties_count_; |
| 56 FakeScrollbar* fake_scrollbar_; | 58 FakeScrollbar* fake_scrollbar_; |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace cc | 61 } // namespace cc |
| 60 | 62 |
| 61 #endif // CC_TEST_FAKE_PAINTED_SCROLLBAR_LAYER_H_ | 63 #endif // CC_TEST_FAKE_PAINTED_SCROLLBAR_LAYER_H_ |
| OLD | NEW |