| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "gfx/point.h" | 5 #include "gfx/point.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 CGPoint Point::ToCGPoint() const { | 47 CGPoint Point::ToCGPoint() const { |
| 48 return CGPointMake(x_, y_); | 48 return CGPointMake(x_, y_); |
| 49 } | 49 } |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 std::ostream& operator<<(std::ostream& out, const gfx::Point& p) { | 52 std::ostream& operator<<(std::ostream& out, const gfx::Point& p) { |
| 53 return out << p.x() << "," << p.y(); | 53 return out << p.x() << "," << p.y(); |
| 54 } | 54 } |
| 55 | 55 |
| 56 } // namespace gfx | 56 } // namespace gfx |
| OLD | NEW |