| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BASE_WIN_DPI_SETUP_H_ | 5 #ifndef UI_BASE_WIN_DPI_SETUP_H_ |
| 6 #define UI_BASE_WIN_DPI_SETUP_H_ | 6 #define UI_BASE_WIN_DPI_SETUP_H_ |
| 7 | 7 |
| 8 #include "ui/base/ui_export.h" | 8 #include "ui/base/ui_base_export.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| 11 namespace win { | 11 namespace win { |
| 12 | 12 |
| 13 // Initializes the device scale factor. If support is enabled, this will set | 13 // Initializes the device scale factor. If support is enabled, this will set |
| 14 // the best available scale based on the screen's pixel density. This can be | 14 // the best available scale based on the screen's pixel density. This can be |
| 15 // affected (overridden) by --force-device-scale-factor=x | 15 // affected (overridden) by --force-device-scale-factor=x |
| 16 // This function can be called only once for the lifetime of a process. | 16 // This function can be called only once for the lifetime of a process. |
| 17 UI_EXPORT void InitDeviceScaleFactor(); | 17 UI_BASE_EXPORT void InitDeviceScaleFactor(); |
| 18 | 18 |
| 19 } // namespace win | 19 } // namespace win |
| 20 } // namespace ui | 20 } // namespace ui |
| 21 | 21 |
| 22 #endif // UI_BASE_WIN_DPI_SETUP_H_ | 22 #endif // UI_BASE_WIN_DPI_SETUP_H_ |
| OLD | NEW |