| 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 #include "cc/resources/picture.h" | 5 #include "cc/playback/picture.h" |
| 6 | 6 |
| 7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "cc/test/fake_content_layer_client.h" | 10 #include "cc/test/fake_content_layer_client.h" |
| 11 #include "cc/test/skia_common.h" | 11 #include "cc/test/skia_common.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "third_party/skia/include/core/SkGraphics.h" | 13 #include "third_party/skia/include/core/SkGraphics.h" |
| 14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
| 15 #include "ui/gfx/skia_util.h" | 15 #include "ui/gfx/skia_util.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 content_layer_client.last_painting_control()); | 172 content_layer_client.last_painting_control()); |
| 173 EXPECT_TRUE(picture.get()); | 173 EXPECT_TRUE(picture.get()); |
| 174 | 174 |
| 175 // RECORD_WITH_CONSTRUCTION_DISABLED is not supported for Picture. | 175 // RECORD_WITH_CONSTRUCTION_DISABLED is not supported for Picture. |
| 176 | 176 |
| 177 EXPECT_EQ(5, RecordingSource::RECORDING_MODE_COUNT); | 177 EXPECT_EQ(5, RecordingSource::RECORDING_MODE_COUNT); |
| 178 } | 178 } |
| 179 | 179 |
| 180 } // namespace | 180 } // namespace |
| 181 } // namespace cc | 181 } // namespace cc |
| OLD | NEW |