| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RECORDING_SOURCE_H_ | 5 #ifndef CC_TEST_FAKE_RECORDING_SOURCE_H_ |
| 6 #define CC_TEST_FAKE_RECORDING_SOURCE_H_ | 6 #define CC_TEST_FAKE_RECORDING_SOURCE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "cc/base/region.h" | 10 #include "cc/base/region.h" |
| 11 #include "cc/playback/recording_source.h" | 11 #include "cc/layers/recording_source.h" |
| 12 #include "cc/test/fake_content_layer_client.h" | 12 #include "cc/test/fake_content_layer_client.h" |
| 13 #include "cc/trees/layer_tree_settings.h" | 13 #include "cc/trees/layer_tree_settings.h" |
| 14 #include "third_party/skia/include/core/SkImage.h" | 14 #include "third_party/skia/include/core/SkImage.h" |
| 15 #include "third_party/skia/include/core/SkRefCnt.h" | 15 #include "third_party/skia/include/core/SkRefCnt.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class WaitableEvent; | 18 class WaitableEvent; |
| 19 } // namespace base | 19 } // namespace base |
| 20 | 20 |
| 21 namespace cc { | 21 namespace cc { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 private: | 134 private: |
| 135 FakeContentLayerClient client_; | 135 FakeContentLayerClient client_; |
| 136 PaintFlags default_flags_; | 136 PaintFlags default_flags_; |
| 137 base::WaitableEvent* playback_allowed_event_; | 137 base::WaitableEvent* playback_allowed_event_; |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 } // namespace cc | 140 } // namespace cc |
| 141 | 141 |
| 142 #endif // CC_TEST_FAKE_RECORDING_SOURCE_H_ | 142 #endif // CC_TEST_FAKE_RECORDING_SOURCE_H_ |
| OLD | NEW |