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 #ifndef BASE_GFX_SIZE_H__ | 5 #ifndef BASE_GFX_SIZE_H__ |
6 #define BASE_GFX_SIZE_H__ | 6 #define BASE_GFX_SIZE_H__ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <iostream> | 10 #include <iostream> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 int height_; | 66 int height_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace gfx | 69 } // namespace gfx |
70 | 70 |
71 inline std::ostream& operator<<(std::ostream& out, const gfx::Size& s) { | 71 inline std::ostream& operator<<(std::ostream& out, const gfx::Size& s) { |
72 return out << s.width() << "x" << s.height(); | 72 return out << s.width() << "x" << s.height(); |
73 } | 73 } |
74 | 74 |
75 #endif // BASE_GFX_SIZE_H__ | 75 #endif // BASE_GFX_SIZE_H__ |
76 | |
OLD | NEW |