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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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/layers/recording_source.cc ('k') | cc/layers/render_surface_impl.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 "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "cc/base/region.h" 8 #include "cc/base/region.h"
9 #include "cc/playback/raster_source.h" 9 #include "cc/raster/raster_source.h"
10 #include "cc/test/fake_content_layer_client.h" 10 #include "cc/test/fake_content_layer_client.h"
11 #include "cc/test/fake_recording_source.h" 11 #include "cc/test/fake_recording_source.h"
12 #include "cc/test/skia_common.h" 12 #include "cc/test/skia_common.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/skia/include/core/SkRefCnt.h" 15 #include "third_party/skia/include/core/SkRefCnt.h"
16 16
17 namespace cc { 17 namespace cc {
18 namespace { 18 namespace {
19 19
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 &images); 362 &images);
363 EXPECT_EQ(3u, images.size()); 363 EXPECT_EQ(3u, images.size());
364 EXPECT_TRUE(images[0].image() == discardable_image[0][0]); 364 EXPECT_TRUE(images[0].image() == discardable_image[0][0]);
365 EXPECT_TRUE(images[1].image() == discardable_image[0][1]); 365 EXPECT_TRUE(images[1].image() == discardable_image[0][1]);
366 EXPECT_TRUE(images[2].image() == discardable_image[1][1]); 366 EXPECT_TRUE(images[2].image() == discardable_image[1][1]);
367 } 367 }
368 } 368 }
369 369
370 } // namespace 370 } // namespace
371 } // namespace cc 371 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/recording_source.cc ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698