| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 5 |
| 6 #ifndef WebFloatPoint3D_h | 6 #ifndef WebFloatPoint3D_h |
| 7 #define WebFloatPoint3D_h | 7 #define WebFloatPoint3D_h |
| 8 | 8 |
| 9 #include "WebCommon.h" | 9 #include "WebCommon.h" |
| 10 | 10 |
| 11 #if INSIDE_BLINK | 11 #if INSIDE_BLINK |
| 12 #include "platform/geometry/FloatPoint3D.h" | 12 #include "platform/geometry/FloatPoint3D.h" |
| 13 #else | 13 #else |
| 14 #include <ui/gfx/point3_f.h> | 14 #include <ui/gfx/geometry/point3_f.h> |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 struct WebFloatPoint3D { | 19 struct WebFloatPoint3D { |
| 20 float x; | 20 float x; |
| 21 float y; | 21 float y; |
| 22 float z; | 22 float z; |
| 23 | 23 |
| 24 WebFloatPoint3D() | 24 WebFloatPoint3D() |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 84 } |
| 85 | 85 |
| 86 inline bool operator!=(const WebFloatPoint3D& a, const WebFloatPoint3D& b) | 86 inline bool operator!=(const WebFloatPoint3D& a, const WebFloatPoint3D& b) |
| 87 { | 87 { |
| 88 return !(a == b); | 88 return !(a == b); |
| 89 } | 89 } |
| 90 | 90 |
| 91 } // namespace blink | 91 } // namespace blink |
| 92 | 92 |
| 93 #endif | 93 #endif |
| OLD | NEW |