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

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

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 #include "ui/base/win/dpi_setup.h"
6
7 #include "base/command_line.h"
8 #include "ui/base/layout.h"
9 #include "ui/gfx/display.h"
10 #include "ui/gfx/win/dpi.h"
11
12 namespace ui {
13 namespace win {
14
15 void InitDeviceScaleFactor() {
16 gfx::InitDeviceScaleFactor(gfx::GetDPIScale());
17 }
18
19 } // namespace win
20 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/win/dpi_setup.h ('k') | ui/base/win/hwnd_subclass.cc » ('j') | ui/gfx/dpi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698