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

Side by Side Diff: cc/layer_iterator_unittest.cc

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_impl_unittest.cc ('k') | cc/layer_sorter.h » ('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 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
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
OLDNEW
« no previous file with comments | « cc/layer_impl_unittest.cc ('k') | cc/layer_sorter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698