Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: ui/base/win/dpi_setup.h

Issue 659883002: Enable hidpi on Linux, refactor a bit on Windows to share Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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_base_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_BASE_EXPORT void InitDeviceScaleFactor();
18
19 } // namespace win
20 } // namespace ui
21
22 #endif // UI_BASE_WIN_DPI_SETUP_H_
OLDNEW
« no previous file with comments | « ui/base/ui_base.gyp ('k') | ui/base/win/dpi_setup.cc » ('j') | ui/gfx/dpi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698