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

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

Issue 1411663002: cc: Split Proxy to eliminate unnecessary dependencies on the impl side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update perf tests. Created 5 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
« 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"
11 #include "cc/test/fake_layer_tree_host.h" 11 #include "cc/test/fake_layer_tree_host.h"
12 #include "cc/test/fake_proxy.h"
12 #include "cc/test/geometry_test_utils.h" 13 #include "cc/test/geometry_test_utils.h"
13 #include "cc/test/test_task_graph_runner.h" 14 #include "cc/test/test_task_graph_runner.h"
14 #include "cc/trees/layer_tree_host_common.h" 15 #include "cc/trees/layer_tree_host_common.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 namespace cc { 18 namespace cc {
18 namespace { 19 namespace {
19 20
20 class LayerWithForcedDrawsContent : public Layer { 21 class LayerWithForcedDrawsContent : public Layer {
21 public: 22 public:
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 expected_fixed_child_transform.Translate(20.0, 20.0); 1108 expected_fixed_child_transform.Translate(20.0, 20.0);
1108 1109
1109 EXPECT_TRANSFORMATION_MATRIX_EQ(expected_scroll_layer_transform, 1110 EXPECT_TRANSFORMATION_MATRIX_EQ(expected_scroll_layer_transform,
1110 scroll_layer_impl_->draw_transform()); 1111 scroll_layer_impl_->draw_transform());
1111 EXPECT_TRANSFORMATION_MATRIX_EQ(expected_fixed_child_transform, 1112 EXPECT_TRANSFORMATION_MATRIX_EQ(expected_fixed_child_transform,
1112 fixed_child_impl->draw_transform()); 1113 fixed_child_impl->draw_transform());
1113 } 1114 }
1114 1115
1115 } // namespace 1116 } // namespace
1116 } // namespace cc 1117 } // 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