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

Side by Side Diff: third_party/WebKit/Source/platform/geometry/DoublePoint.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 1
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 #ifndef DoublePoint_h 5 #ifndef DoublePoint_h
6 #define DoublePoint_h 6 #define DoublePoint_h
7 7
8 #include <algorithm>
8 #include "platform/geometry/DoubleSize.h" 9 #include "platform/geometry/DoubleSize.h"
9 #include "platform/geometry/FloatPoint.h" 10 #include "platform/geometry/FloatPoint.h"
10 #include "platform/geometry/IntPoint.h" 11 #include "platform/geometry/IntPoint.h"
11 #include "wtf/Allocator.h" 12 #include "wtf/Allocator.h"
12 #include "wtf/Forward.h" 13 #include "wtf/Forward.h"
13 #include <algorithm>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class LayoutPoint; 17 class LayoutPoint;
18 18
19 class PLATFORM_EXPORT DoublePoint { 19 class PLATFORM_EXPORT DoublePoint {
20 DISALLOW_NEW(); 20 DISALLOW_NEW();
21 21
22 public: 22 public:
23 DoublePoint() : m_x(0), m_y(0) {} 23 DoublePoint() : m_x(0), m_y(0) {}
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 return DoubleSize(a.x(), a.y()); 135 return DoubleSize(a.x(), a.y());
136 } 136 }
137 137
138 // Redeclared here to avoid ODR issues. 138 // Redeclared here to avoid ODR issues.
139 // See platform/testing/GeometryPrinters.h. 139 // See platform/testing/GeometryPrinters.h.
140 void PrintTo(const DoublePoint&, std::ostream*); 140 void PrintTo(const DoublePoint&, std::ostream*);
141 141
142 } // namespace blink 142 } // namespace blink
143 143
144 #endif 144 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698