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

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

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/base/win/dpi_setup.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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_
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/base/win/dpi_setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698