OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/layer_iterator.h" | 5 #include "cc/layer_iterator.h" |
6 | 6 |
7 #include "cc/layer.h" | 7 #include "cc/layer.h" |
8 #include "cc/layer_tree_host_common.h" | 8 #include "cc/layer_tree_host_common.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include <public/WebTransformationMatrix.h> | 11 #include "ui/gfx/transform.h" |
12 | 12 |
13 using WebKit::WebTransformationMatrix; | |
14 using ::testing::Mock; | 13 using ::testing::Mock; |
15 using ::testing::_; | 14 using ::testing::_; |
16 using ::testing::AtLeast; | 15 using ::testing::AtLeast; |
17 using ::testing::AnyNumber; | 16 using ::testing::AnyNumber; |
18 | 17 |
19 namespace cc { | 18 namespace cc { |
20 namespace { | 19 namespace { |
21 | 20 |
22 class TestLayer : public Layer { | 21 class TestLayer : public Layer { |
23 public: | 22 public: |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 EXPECT_COUNT(root21, -1, -1, 9); | 244 EXPECT_COUNT(root21, -1, -1, 9); |
246 EXPECT_COUNT(root22, 7, 8, 6); | 245 EXPECT_COUNT(root22, 7, 8, 6); |
247 EXPECT_COUNT(root221, -1, -1, 5); | 246 EXPECT_COUNT(root221, -1, -1, 5); |
248 EXPECT_COUNT(root23, 3, 4, 2); | 247 EXPECT_COUNT(root23, 3, 4, 2); |
249 EXPECT_COUNT(root231, -1, -1, 1); | 248 EXPECT_COUNT(root231, -1, -1, 1); |
250 EXPECT_COUNT(root3, -1, -1, 0); | 249 EXPECT_COUNT(root3, -1, -1, 0); |
251 } | 250 } |
252 | 251 |
253 } // namespace | 252 } // namespace |
254 } // namespace cc | 253 } // namespace cc |
OLD | NEW |