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

Side by Side Diff: cc/animation/transform_operations_unittest.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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
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 <limits> 5 #include <limits>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "cc/animation/transform_operations.h" 9 #include "cc/animation/transform_operations.h"
10 #include "cc/test/geometry_test_utils.h" 10 #include "cc/test/geometry_test_utils.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gfx/animation/tween.h" 12 #include "ui/gfx/animation/tween.h"
13 #include "ui/gfx/box_f.h" 13 #include "ui/gfx/geometry/box_f.h"
14 #include "ui/gfx/rect_conversions.h" 14 #include "ui/gfx/rect_conversions.h"
15 #include "ui/gfx/vector3d_f.h" 15 #include "ui/gfx/vector3d_f.h"
16 16
17 namespace cc { 17 namespace cc {
18 namespace { 18 namespace {
19 19
20 TEST(TransformOperationTest, TransformTypesAreUnique) { 20 TEST(TransformOperationTest, TransformTypesAreUnique) {
21 ScopedVector<TransformOperations> transforms; 21 ScopedVector<TransformOperations> transforms;
22 22
23 TransformOperations* to_add = new TransformOperations(); 23 TransformOperations* to_add = new TransformOperations();
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 TransformOperations operations12; 1524 TransformOperations operations12;
1525 operations12.AppendScale(3.f, 3.f, 3.f); 1525 operations12.AppendScale(3.f, 3.f, 3.f);
1526 operations12.AppendPerspective(3.f); 1526 operations12.AppendPerspective(3.f);
1527 1527
1528 // Perspective operation. 1528 // Perspective operation.
1529 EXPECT_FALSE(operations12.MaximumScale(operations11, 0.f, 1.f, &max_scale)); 1529 EXPECT_FALSE(operations12.MaximumScale(operations11, 0.f, 1.f, &max_scale));
1530 } 1530 }
1531 1531
1532 } // namespace 1532 } // namespace
1533 } // namespace cc 1533 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698