| 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; | 13 using gfx::Transform; |
| 14 using ::testing::Mock; | 14 using ::testing::Mock; |
| 15 using ::testing::_; | 15 using ::testing::_; |
| 16 using ::testing::AtLeast; | 16 using ::testing::AtLeast; |
| 17 using ::testing::AnyNumber; | 17 using ::testing::AnyNumber; |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 class TestLayer : public Layer { | 22 class TestLayer : public Layer { |
| 23 public: | 23 public: |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 EXPECT_COUNT(root21, -1, -1, 9); | 245 EXPECT_COUNT(root21, -1, -1, 9); |
| 246 EXPECT_COUNT(root22, 7, 8, 6); | 246 EXPECT_COUNT(root22, 7, 8, 6); |
| 247 EXPECT_COUNT(root221, -1, -1, 5); | 247 EXPECT_COUNT(root221, -1, -1, 5); |
| 248 EXPECT_COUNT(root23, 3, 4, 2); | 248 EXPECT_COUNT(root23, 3, 4, 2); |
| 249 EXPECT_COUNT(root231, -1, -1, 1); | 249 EXPECT_COUNT(root231, -1, -1, 1); |
| 250 EXPECT_COUNT(root3, -1, -1, 0); | 250 EXPECT_COUNT(root3, -1, -1, 0); |
| 251 } | 251 } |
| 252 | 252 |
| 253 } // namespace | 253 } // namespace |
| 254 } // namespace cc | 254 } // namespace cc |
| OLD | NEW |