| Index: ui/base/win/dpi_setup.h
|
| diff --git a/ui/base/win/dpi_setup.h b/ui/base/win/dpi_setup.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a88584996f0da9e1a35065b7f37d51f40cae990a
|
| --- /dev/null
|
| +++ b/ui/base/win/dpi_setup.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_BASE_WIN_DPI_SETUP_H_
|
| +#define UI_BASE_WIN_DPI_SETUP_H_
|
| +
|
| +#include "ui/base/ui_export.h"
|
| +
|
| +namespace ui {
|
| +namespace win {
|
| +
|
| +// Initializes the device scale factor. If support is enabled, this will set
|
| +// the best available scale based on the screen's pixel density. This can be
|
| +// affected (overridden) by --force-device-scale-factor=x
|
| +// This function can be called only once for the lifetime of a process.
|
| +UI_EXPORT void InitDeviceScaleFactor();
|
| +
|
| +} // namespace win
|
| +} // namespace ui
|
| +
|
| +#endif // UI_BASE_WIN_DPI_SETUP_H_
|
|
|