- add sources.
[platform/framework/web/crosswalk.git] / src / ui / base / win / dpi_setup.h
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
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_WIN_DPI_SETUP_H_
6 #define UI_BASE_WIN_DPI_SETUP_H_
7
8 #include "ui/base/ui_export.h"
9
10 namespace ui {
11 namespace win {
12
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
15 // affected (overridden) by --force-device-scale-factor=x
16 // This function can be called only once for the lifetime of a process.
17 UI_EXPORT void InitDeviceScaleFactor();
18
19 }  // namespace win
20 }  // namespace ui
21
22 #endif  // UI_BASE_WIN_DPI_SETUP_H_