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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: Created 4 years, 2 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
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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cmath> 10 #include <cmath>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "cc/animation/animation_events.h" 18 #include "cc/animation/animation_events.h"
19 #include "cc/animation/animation_host.h" 19 #include "cc/animation/animation_host.h"
20 #include "cc/animation/animation_id_provider.h" 20 #include "cc/animation/animation_id_provider.h"
21 #include "cc/animation/transform_operations.h" 21 #include "cc/animation/transform_operations.h"
22 #include "cc/base/math_util.h" 22 #include "cc/base/math_util.h"
23 #include "cc/input/browser_controls_offset_manager.h"
23 #include "cc/input/main_thread_scrolling_reason.h" 24 #include "cc/input/main_thread_scrolling_reason.h"
24 #include "cc/input/page_scale_animation.h" 25 #include "cc/input/page_scale_animation.h"
25 #include "cc/input/scrollbar_animation_controller_thinning.h" 26 #include "cc/input/scrollbar_animation_controller_thinning.h"
26 #include "cc/input/top_controls_manager.h"
27 #include "cc/layers/append_quads_data.h" 27 #include "cc/layers/append_quads_data.h"
28 #include "cc/layers/heads_up_display_layer_impl.h" 28 #include "cc/layers/heads_up_display_layer_impl.h"
29 #include "cc/layers/layer_impl.h" 29 #include "cc/layers/layer_impl.h"
30 #include "cc/layers/painted_scrollbar_layer_impl.h" 30 #include "cc/layers/painted_scrollbar_layer_impl.h"
31 #include "cc/layers/render_surface_impl.h" 31 #include "cc/layers/render_surface_impl.h"
32 #include "cc/layers/solid_color_layer_impl.h" 32 #include "cc/layers/solid_color_layer_impl.h"
33 #include "cc/layers/solid_color_scrollbar_layer_impl.h" 33 #include "cc/layers/solid_color_scrollbar_layer_impl.h"
34 #include "cc/layers/texture_layer_impl.h" 34 #include "cc/layers/texture_layer_impl.h"
35 #include "cc/layers/video_layer_impl.h" 35 #include "cc/layers/video_layer_impl.h"
36 #include "cc/layers/viewport.h" 36 #include "cc/layers/viewport.h"
(...skipping 11366 matching lines...) Expand 10 before | Expand all | Expand 10 after
11403 EXPECT_TRUE(host_impl_->use_gpu_rasterization()); 11403 EXPECT_TRUE(host_impl_->use_gpu_rasterization());
11404 11404
11405 // Re-initialize with a software output surface. 11405 // Re-initialize with a software output surface.
11406 compositor_frame_sink_ = FakeCompositorFrameSink::CreateSoftware(); 11406 compositor_frame_sink_ = FakeCompositorFrameSink::CreateSoftware();
11407 host_impl_->InitializeRenderer(compositor_frame_sink_.get()); 11407 host_impl_->InitializeRenderer(compositor_frame_sink_.get());
11408 EXPECT_FALSE(host_impl_->use_gpu_rasterization()); 11408 EXPECT_FALSE(host_impl_->use_gpu_rasterization());
11409 } 11409 }
11410 11410
11411 } // namespace 11411 } // namespace
11412 } // namespace cc 11412 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698