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

Side by Side Diff: cc/trees/layer_tree_host_impl_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/test/test_web_graphics_context_3d.cc ('k') | cc/trees/layer_tree_host_unittest.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_impl.h" 5 #include "cc/trees/layer_tree_host_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/containers/hash_tables.h" 11 #include "base/containers/hash_tables.h"
12 #include "base/containers/scoped_ptr_hash_map.h" 12 #include "base/containers/scoped_ptr_hash_map.h"
13 #include "cc/animation/scrollbar_animation_controller_thinning.h" 13 #include "cc/animation/scrollbar_animation_controller_thinning.h"
14 #include "cc/base/math_util.h" 14 #include "cc/base/math_util.h"
15 #include "cc/debug/test_web_graphics_context_3d.h"
16 #include "cc/input/top_controls_manager.h" 15 #include "cc/input/top_controls_manager.h"
17 #include "cc/layers/delegated_renderer_layer_impl.h" 16 #include "cc/layers/delegated_renderer_layer_impl.h"
18 #include "cc/layers/heads_up_display_layer_impl.h" 17 #include "cc/layers/heads_up_display_layer_impl.h"
19 #include "cc/layers/io_surface_layer_impl.h" 18 #include "cc/layers/io_surface_layer_impl.h"
20 #include "cc/layers/layer_impl.h" 19 #include "cc/layers/layer_impl.h"
21 #include "cc/layers/painted_scrollbar_layer_impl.h" 20 #include "cc/layers/painted_scrollbar_layer_impl.h"
22 #include "cc/layers/quad_sink.h" 21 #include "cc/layers/quad_sink.h"
23 #include "cc/layers/render_surface_impl.h" 22 #include "cc/layers/render_surface_impl.h"
24 #include "cc/layers/solid_color_layer_impl.h" 23 #include "cc/layers/solid_color_layer_impl.h"
25 #include "cc/layers/texture_layer_impl.h" 24 #include "cc/layers/texture_layer_impl.h"
(...skipping 15 matching lines...) Expand all
41 #include "cc/test/fake_output_surface.h" 40 #include "cc/test/fake_output_surface.h"
42 #include "cc/test/fake_output_surface_client.h" 41 #include "cc/test/fake_output_surface_client.h"
43 #include "cc/test/fake_picture_layer_impl.h" 42 #include "cc/test/fake_picture_layer_impl.h"
44 #include "cc/test/fake_picture_pile_impl.h" 43 #include "cc/test/fake_picture_pile_impl.h"
45 #include "cc/test/fake_proxy.h" 44 #include "cc/test/fake_proxy.h"
46 #include "cc/test/fake_rendering_stats_instrumentation.h" 45 #include "cc/test/fake_rendering_stats_instrumentation.h"
47 #include "cc/test/fake_video_frame_provider.h" 46 #include "cc/test/fake_video_frame_provider.h"
48 #include "cc/test/geometry_test_utils.h" 47 #include "cc/test/geometry_test_utils.h"
49 #include "cc/test/layer_test_common.h" 48 #include "cc/test/layer_test_common.h"
50 #include "cc/test/render_pass_test_common.h" 49 #include "cc/test/render_pass_test_common.h"
50 #include "cc/test/test_web_graphics_context_3d.h"
51 #include "cc/trees/layer_tree_impl.h" 51 #include "cc/trees/layer_tree_impl.h"
52 #include "cc/trees/single_thread_proxy.h" 52 #include "cc/trees/single_thread_proxy.h"
53 #include "media/base/media.h" 53 #include "media/base/media.h"
54 #include "testing/gmock/include/gmock/gmock.h" 54 #include "testing/gmock/include/gmock/gmock.h"
55 #include "testing/gtest/include/gtest/gtest.h" 55 #include "testing/gtest/include/gtest/gtest.h"
56 #include "ui/gfx/frame_time.h" 56 #include "ui/gfx/frame_time.h"
57 #include "ui/gfx/rect_conversions.h" 57 #include "ui/gfx/rect_conversions.h"
58 #include "ui/gfx/size_conversions.h" 58 #include "ui/gfx/size_conversions.h"
59 #include "ui/gfx/vector2d_conversions.h" 59 #include "ui/gfx/vector2d_conversions.h"
60 60
(...skipping 5404 matching lines...) Expand 10 before | Expand all | Expand 10 after
5465 // The root should have scrolled. 5465 // The root should have scrolled.
5466 ASSERT_EQ(2u, scroll_info->scrolls.size()); 5466 ASSERT_EQ(2u, scroll_info->scrolls.size());
5467 ExpectContains(*scroll_info.get(), 5467 ExpectContains(*scroll_info.get(),
5468 host_impl_->active_tree()->root_layer()->id(), 5468 host_impl_->active_tree()->root_layer()->id(),
5469 gfx::Vector2d(0, 10)); 5469 gfx::Vector2d(0, 10));
5470 } 5470 }
5471 } 5471 }
5472 5472
5473 } // namespace 5473 } // namespace
5474 } // namespace cc 5474 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_web_graphics_context_3d.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698