Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / base / win / dpi_setup.h
blob5837153d9fd0beb57b32950dcfcdfb83fb387259
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.
5 #ifndef UI_BASE_WIN_DPI_SETUP_H_
6 #define UI_BASE_WIN_DPI_SETUP_H_
8 #include "ui/base/ui_base_export.h"
10 namespace ui {
11 namespace win {
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_BASE_EXPORT void InitDeviceScaleFactor();
19 } // namespace win
20 } // namespace ui
22 #endif // UI_BASE_WIN_DPI_SETUP_H_