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

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

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 3 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/layer_perftest.cc ('k') | cc/layers/layer_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/layers/layer_position_constraint.h" 5 #include "cc/layers/layer_position_constraint.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "cc/layers/layer.h" 9 #include "cc/layers/layer.h"
10 #include "cc/layers/layer_impl.h" 10 #include "cc/layers/layer_impl.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 root_impl_(nullptr), 66 root_impl_(nullptr),
67 inner_viewport_container_layer_impl_(nullptr), 67 inner_viewport_container_layer_impl_(nullptr),
68 scroll_layer_impl_(nullptr), 68 scroll_layer_impl_(nullptr),
69 outer_viewport_container_layer_impl_(nullptr), 69 outer_viewport_container_layer_impl_(nullptr),
70 child_transform_layer_impl_(nullptr), 70 child_transform_layer_impl_(nullptr),
71 child_impl_(nullptr), 71 child_impl_(nullptr),
72 grand_child_impl_(nullptr), 72 grand_child_impl_(nullptr),
73 great_grand_child_impl_(nullptr) { 73 great_grand_child_impl_(nullptr) {
74 layer_tree_host_->InitializeForTesting( 74 layer_tree_host_->InitializeForTesting(
75 TaskRunnerProvider::Create(nullptr, nullptr), 75 TaskRunnerProvider::Create(nullptr, nullptr),
76 std::unique_ptr<Proxy>(new FakeProxy), nullptr); 76 std::unique_ptr<Proxy>(new FakeProxy));
77 CreateTreeForTest(); 77 CreateTreeForTest();
78 fixed_to_top_left_.set_is_fixed_position(true); 78 fixed_to_top_left_.set_is_fixed_position(true);
79 fixed_to_bottom_right_.set_is_fixed_position(true); 79 fixed_to_bottom_right_.set_is_fixed_position(true);
80 fixed_to_bottom_right_.set_is_fixed_to_right_edge(true); 80 fixed_to_bottom_right_.set_is_fixed_to_right_edge(true);
81 fixed_to_bottom_right_.set_is_fixed_to_bottom_edge(true); 81 fixed_to_bottom_right_.set_is_fixed_to_bottom_edge(true);
82 } 82 }
83 83
84 void CreateTreeForTest() { 84 void CreateTreeForTest() {
85 // scroll_layer_ is the inner viewport scroll layer and child_ is the outer 85 // scroll_layer_ is the inner viewport scroll layer and child_ is the outer
86 // viewport scroll layer. 86 // viewport scroll layer.
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 VerifySerializeAndDeserializeProto(true, false, true); 1164 VerifySerializeAndDeserializeProto(true, false, true);
1165 VerifySerializeAndDeserializeProto(true, false, false); 1165 VerifySerializeAndDeserializeProto(true, false, false);
1166 VerifySerializeAndDeserializeProto(false, true, true); 1166 VerifySerializeAndDeserializeProto(false, true, true);
1167 VerifySerializeAndDeserializeProto(false, true, false); 1167 VerifySerializeAndDeserializeProto(false, true, false);
1168 VerifySerializeAndDeserializeProto(false, false, true); 1168 VerifySerializeAndDeserializeProto(false, false, true);
1169 VerifySerializeAndDeserializeProto(false, false, false); 1169 VerifySerializeAndDeserializeProto(false, false, false);
1170 } 1170 }
1171 1171
1172 } // namespace 1172 } // namespace
1173 } // namespace cc 1173 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer_perftest.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698