OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_GFX_DPI_WIN_H_ | 5 #ifndef UI_GFX_DPI_WIN_H_ |
6 #define UI_GFX_DPI_WIN_H_ | 6 #define UI_GFX_DPI_WIN_H_ |
7 | 7 |
| 8 #include "ui/gfx/geometry/point.h" |
8 #include "ui/gfx/gfx_export.h" | 9 #include "ui/gfx/gfx_export.h" |
9 #include "ui/gfx/point.h" | |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/size.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 | 14 |
15 // Initialization of the scale factor that should be applied for rendering | 15 // Initialization of the scale factor that should be applied for rendering |
16 // in this process. Must be called before attempts to call any of the getter | 16 // in this process. Must be called before attempts to call any of the getter |
17 // methods below in this file, e.g. in the early toolkit/resource bundle setup. | 17 // methods below in this file, e.g. in the early toolkit/resource bundle setup. |
18 // This can be called multiple times during various tests, but subsequent calls | 18 // This can be called multiple times during various tests, but subsequent calls |
19 // have no effect. | 19 // have no effect. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // the process. | 60 // the process. |
61 GFX_EXPORT bool IsDeviceScaleFactorSet(); | 61 GFX_EXPORT bool IsDeviceScaleFactorSet(); |
62 | 62 |
63 GFX_EXPORT extern const wchar_t kRegistryProfilePath[]; | 63 GFX_EXPORT extern const wchar_t kRegistryProfilePath[]; |
64 GFX_EXPORT extern const wchar_t kHighDPISupportW[]; | 64 GFX_EXPORT extern const wchar_t kHighDPISupportW[]; |
65 | 65 |
66 } // namespace win | 66 } // namespace win |
67 } // namespace gfx | 67 } // namespace gfx |
68 | 68 |
69 #endif // UI_GFX_DPI_WIN_H_ | 69 #endif // UI_GFX_DPI_WIN_H_ |
OLD | NEW |