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

Side by Side Diff: cc/trees/layer_tree_host_unittest_serialization.cc

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: test Created 4 years, 5 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/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/proxy_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 "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/layers/empty_content_layer_client.h" 10 #include "cc/layers/empty_content_layer_client.h"
11 #include "cc/layers/heads_up_display_layer.h" 11 #include "cc/layers/heads_up_display_layer.h"
12 #include "cc/layers/layer.h" 12 #include "cc/layers/layer.h"
13 #include "cc/proto/layer.pb.h" 13 #include "cc/proto/layer.pb.h"
14 #include "cc/proto/layer_tree_host.pb.h" 14 #include "cc/proto/layer_tree_host.pb.h"
15 #include "cc/test/fake_image_serialization_processor.h" 15 #include "cc/test/fake_image_serialization_processor.h"
16 #include "cc/test/fake_layer_tree_host.h" 16 #include "cc/test/fake_layer_tree_host.h"
17 #include "cc/test/fake_layer_tree_host_client.h" 17 #include "cc/test/fake_layer_tree_host_client.h"
18 #include "cc/test/fake_picture_layer.h" 18 #include "cc/test/fake_picture_layer.h"
19 #include "cc/test/fake_recording_source.h" 19 #include "cc/test/fake_recording_source.h"
20 #include "cc/test/layer_tree_test.h" 20 #include "cc/test/layer_tree_test.h"
21 #include "cc/test/skia_common.h" 21 #include "cc/test/skia_common.h"
22 #include "cc/test/test_task_graph_runner.h" 22 #include "cc/test/test_task_graph_runner.h"
23 #include "cc/trees/layer_tree_host_common.h"
23 #include "cc/trees/layer_tree_settings.h" 24 #include "cc/trees/layer_tree_settings.h"
24 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
25 #include "third_party/skia/include/core/SkColor.h" 26 #include "third_party/skia/include/core/SkColor.h"
26 #include "ui/gfx/geometry/point.h" 27 #include "ui/gfx/geometry/point.h"
27 #include "ui/gfx/geometry/size.h" 28 #include "ui/gfx/geometry/size.h"
28 #include "ui/gfx/geometry/vector2d_f.h" 29 #include "ui/gfx/geometry/vector2d_f.h"
29 30
30 namespace cc { 31 namespace cc {
31 32
32 namespace { 33 namespace {
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 448
448 TEST_F(LayerTreeHostSerializationTest, AddAndRemoveNodeFromLayerTree) { 449 TEST_F(LayerTreeHostSerializationTest, AddAndRemoveNodeFromLayerTree) {
449 RunAddAndRemoveNodeFromLayerTree(); 450 RunAddAndRemoveNodeFromLayerTree();
450 } 451 }
451 452
452 TEST_F(LayerTreeHostSerializationTest, PictureLayerMultipleSerializations) { 453 TEST_F(LayerTreeHostSerializationTest, PictureLayerMultipleSerializations) {
453 RunPictureLayerMultipleSerializationsTest(); 454 RunPictureLayerMultipleSerializationsTest();
454 } 455 }
455 456
456 } // namespace cc 457 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698