Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: cc/playback/recording_source_unittest.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/playback/recording_source.h ('k') | cc/playback/transform_display_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include <vector> 5 #include <vector>
6 6
7 #include "cc/resources/display_list_raster_source.h" 7 #include "cc/playback/display_list_raster_source.h"
8 #include "cc/test/fake_display_list_recording_source.h" 8 #include "cc/test/fake_display_list_recording_source.h"
9 #include "cc/test/fake_picture_pile.h" 9 #include "cc/test/fake_picture_pile.h"
10 #include "cc/test/fake_picture_pile_impl.h" 10 #include "cc/test/fake_picture_pile_impl.h"
11 #include "cc/test/impl_side_painting_settings.h" 11 #include "cc/test/impl_side_painting_settings.h"
12 #include "cc/test/skia_common.h" 12 #include "cc/test/skia_common.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace cc { 15 namespace cc {
16 namespace { 16 namespace {
17 17
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 EXPECT_FALSE(pixel_refs.empty()); 461 EXPECT_FALSE(pixel_refs.empty());
462 EXPECT_TRUE(pixel_refs[0] == discardable_bitmap[0][0].pixelRef()); 462 EXPECT_TRUE(pixel_refs[0] == discardable_bitmap[0][0].pixelRef());
463 EXPECT_TRUE(pixel_refs[1] == discardable_bitmap[0][1].pixelRef()); 463 EXPECT_TRUE(pixel_refs[1] == discardable_bitmap[0][1].pixelRef());
464 EXPECT_TRUE(pixel_refs[2] == discardable_bitmap[1][1].pixelRef()); 464 EXPECT_TRUE(pixel_refs[2] == discardable_bitmap[1][1].pixelRef());
465 EXPECT_EQ(3u, pixel_refs.size()); 465 EXPECT_EQ(3u, pixel_refs.size());
466 } 466 }
467 } 467 }
468 468
469 } // namespace 469 } // namespace
470 } // namespace cc 470 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/recording_source.h ('k') | cc/playback/transform_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698