OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 GFX_SIZE_H_ | 5 #ifndef UI_GFX_SIZE_H_ |
6 #define GFX_SIZE_H_ | 6 #define UI_GFX_SIZE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #include <iosfwd> | 11 #include <iosfwd> |
12 | 12 |
13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
14 typedef struct tagSIZE SIZE; | 14 typedef struct tagSIZE SIZE; |
15 #elif defined(OS_MACOSX) | 15 #elif defined(OS_MACOSX) |
16 #include <ApplicationServices/ApplicationServices.h> | 16 #include <ApplicationServices/ApplicationServices.h> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 private: | 73 private: |
74 int width_; | 74 int width_; |
75 int height_; | 75 int height_; |
76 }; | 76 }; |
77 | 77 |
78 std::ostream& operator<<(std::ostream& out, const gfx::Size& s); | 78 std::ostream& operator<<(std::ostream& out, const gfx::Size& s); |
79 | 79 |
80 } // namespace gfx | 80 } // namespace gfx |
81 | 81 |
82 #endif // GFX_SIZE_H_ | 82 #endif // UI_GFX_SIZE_H_ |
OLD | NEW |