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

Unified Diff: ui/gfx/win/dpi.cc

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/win/dpi.h ('k') | ui/gfx/win/hwnd_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/dpi.cc
diff --git a/ui/gfx/dpi_win.cc b/ui/gfx/win/dpi.cc
similarity index 97%
rename from ui/gfx/dpi_win.cc
rename to ui/gfx/win/dpi.cc
index 51972d26727978bc7362890d658d53064aac3d5f..98d23bd5ef9b8fe866740ea9375323a7392da5ba 100644
--- a/ui/gfx/dpi_win.cc
+++ b/ui/gfx/win/dpi.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gfx/dpi_win.h"
+#include "ui/gfx/win/dpi.h"
#include <windows.h>
#include "base/command_line.h"
@@ -25,9 +25,9 @@ int kDefaultDPIY = 96;
bool IsHighDPIEnabled() {
// Default is disabled.
if (CommandLine::ForCurrentProcess()->HasSwitch(
- gfx::switches::kHighDPISupport)) {
+ switches::kHighDPISupport)) {
return CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- gfx::switches::kHighDPISupport).compare("1") == 0;
+ switches::kHighDPISupport).compare("1") == 0;
}
return false;
}
« no previous file with comments | « ui/gfx/win/dpi.h ('k') | ui/gfx/win/hwnd_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698