| 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 SKY_ENGINE_PUBLIC_PLATFORM_WEBFLOATPOINT3D_H_ |
| 7 #define WebFloatPoint3D_h | 7 #define SKY_ENGINE_PUBLIC_PLATFORM_WEBFLOATPOINT3D_H_ |
| 8 | 8 |
| 9 #include "sky/engine/public/platform/WebCommon.h" | 9 #include "sky/engine/public/platform/WebCommon.h" |
| 10 | 10 |
| 11 #if INSIDE_BLINK | 11 #if INSIDE_BLINK |
| 12 #include "sky/engine/platform/geometry/FloatPoint3D.h" | 12 #include "sky/engine/platform/geometry/FloatPoint3D.h" |
| 13 #else | 13 #else |
| 14 #include "ui/gfx/geometry/point3_f.h" | 14 #include "ui/gfx/geometry/point3_f.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 return a.x == b.x && a.y == b.y && a.z == b.z; | 83 return a.x == b.x && a.y == b.y && a.z == b.z; |
| 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 // SKY_ENGINE_PUBLIC_PLATFORM_WEBFLOATPOINT3D_H_ |
| OLD | NEW |