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

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

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest_context.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "cc/animation/timing_function.h" 11 #include "cc/animation/timing_function.h"
12 #include "cc/debug/frame_rate_counter.h" 12 #include "cc/debug/frame_rate_counter.h"
13 #include "cc/debug/test_web_graphics_context_3d.h"
14 #include "cc/layers/content_layer.h" 13 #include "cc/layers/content_layer.h"
15 #include "cc/layers/content_layer_client.h" 14 #include "cc/layers/content_layer_client.h"
16 #include "cc/layers/io_surface_layer.h" 15 #include "cc/layers/io_surface_layer.h"
17 #include "cc/layers/layer_impl.h" 16 #include "cc/layers/layer_impl.h"
18 #include "cc/layers/painted_scrollbar_layer.h" 17 #include "cc/layers/painted_scrollbar_layer.h"
19 #include "cc/layers/picture_layer.h" 18 #include "cc/layers/picture_layer.h"
20 #include "cc/layers/solid_color_layer.h" 19 #include "cc/layers/solid_color_layer.h"
21 #include "cc/layers/video_layer.h" 20 #include "cc/layers/video_layer.h"
22 #include "cc/output/begin_frame_args.h" 21 #include "cc/output/begin_frame_args.h"
23 #include "cc/output/copy_output_request.h" 22 #include "cc/output/copy_output_request.h"
(...skipping 10 matching lines...) Expand all
34 #include "cc/test/fake_output_surface.h" 33 #include "cc/test/fake_output_surface.h"
35 #include "cc/test/fake_painted_scrollbar_layer.h" 34 #include "cc/test/fake_painted_scrollbar_layer.h"
36 #include "cc/test/fake_picture_layer.h" 35 #include "cc/test/fake_picture_layer.h"
37 #include "cc/test/fake_picture_layer_impl.h" 36 #include "cc/test/fake_picture_layer_impl.h"
38 #include "cc/test/fake_proxy.h" 37 #include "cc/test/fake_proxy.h"
39 #include "cc/test/fake_scoped_ui_resource.h" 38 #include "cc/test/fake_scoped_ui_resource.h"
40 #include "cc/test/fake_video_frame_provider.h" 39 #include "cc/test/fake_video_frame_provider.h"
41 #include "cc/test/geometry_test_utils.h" 40 #include "cc/test/geometry_test_utils.h"
42 #include "cc/test/layer_tree_test.h" 41 #include "cc/test/layer_tree_test.h"
43 #include "cc/test/occlusion_tracker_test_common.h" 42 #include "cc/test/occlusion_tracker_test_common.h"
43 #include "cc/test/test_web_graphics_context_3d.h"
44 #include "cc/trees/layer_tree_host_impl.h" 44 #include "cc/trees/layer_tree_host_impl.h"
45 #include "cc/trees/layer_tree_impl.h" 45 #include "cc/trees/layer_tree_impl.h"
46 #include "cc/trees/single_thread_proxy.h" 46 #include "cc/trees/single_thread_proxy.h"
47 #include "cc/trees/thread_proxy.h" 47 #include "cc/trees/thread_proxy.h"
48 #include "gpu/GLES2/gl2extchromium.h" 48 #include "gpu/GLES2/gl2extchromium.h"
49 #include "skia/ext/refptr.h" 49 #include "skia/ext/refptr.h"
50 #include "testing/gmock/include/gmock/gmock.h" 50 #include "testing/gmock/include/gmock/gmock.h"
51 #include "third_party/khronos/GLES2/gl2.h" 51 #include "third_party/khronos/GLES2/gl2.h"
52 #include "third_party/khronos/GLES2/gl2ext.h" 52 #include "third_party/khronos/GLES2/gl2ext.h"
53 #include "third_party/skia/include/core/SkPicture.h" 53 #include "third_party/skia/include/core/SkPicture.h"
(...skipping 5142 matching lines...) Expand 10 before | Expand all | Expand 10 after
5196 size_t second_output_surface_memory_limit_; 5196 size_t second_output_surface_memory_limit_;
5197 FakeContentLayerClient client_; 5197 FakeContentLayerClient client_;
5198 scoped_refptr<FakeContentLayer> root_; 5198 scoped_refptr<FakeContentLayer> root_;
5199 }; 5199 };
5200 5200
5201 // No output to copy for delegated renderers. 5201 // No output to copy for delegated renderers.
5202 SINGLE_AND_MULTI_THREAD_TEST_F( 5202 SINGLE_AND_MULTI_THREAD_TEST_F(
5203 LayerTreeHostTestSetMemoryPolicyOnLostOutputSurface); 5203 LayerTreeHostTestSetMemoryPolicyOnLostOutputSurface);
5204 5204
5205 } // namespace cc 5205 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698