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

Side by Side Diff: ui/gfx/transform_util.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "ui/gfx/transform_util.h" 5 #include "ui/gfx/transform_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "ui/gfx/point.h" 12 #include "ui/gfx/geometry/point.h"
13 #include "ui/gfx/point3_f.h" 13 #include "ui/gfx/geometry/point3_f.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 17
18 namespace { 18 namespace {
19 19
20 SkMScalar Length3(SkMScalar v[3]) { 20 SkMScalar Length3(SkMScalar v[3]) {
21 double vd[3] = {SkMScalarToDouble(v[0]), SkMScalarToDouble(v[1]), 21 double vd[3] = {SkMScalarToDouble(v[0]), SkMScalarToDouble(v[1]),
22 SkMScalarToDouble(v[2])}; 22 SkMScalarToDouble(v[2])};
23 return SkDoubleToMScalar( 23 return SkDoubleToMScalar(
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 perspective[1], 492 perspective[1],
493 perspective[2], 493 perspective[2],
494 perspective[3], 494 perspective[3],
495 quaternion[0], 495 quaternion[0],
496 quaternion[1], 496 quaternion[1],
497 quaternion[2], 497 quaternion[2],
498 quaternion[3]); 498 quaternion[3]);
499 } 499 }
500 500
501 } // namespace ui 501 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698