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

Unified Diff: ui/gfx/display.cc

Issue 12398019: Set the scale factor for the display on Windows when in high-DPI mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix bounds. Created 7 years, 10 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 | « no previous file | ui/gfx/screen_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.cc
diff --git a/ui/gfx/display.cc b/ui/gfx/display.cc
index 73f33b390335c8fb64b74edb399f2fabb1f5805d..4ff94bf7ffffaf4be0ec7ca12ba0646a923db1ce 100644
--- a/ui/gfx/display.cc
+++ b/ui/gfx/display.cc
@@ -9,7 +9,6 @@
#include "base/string_number_conversions.h"
#include "base/stringprintf.h"
#include "ui/base/ui_base_switches.h"
-#include "ui/base/win/dpi.h"
#include "ui/gfx/insets.h"
#include "ui/gfx/point_f.h"
#include "ui/gfx/size_conversions.h"
@@ -35,6 +34,7 @@ float GetForcedDeviceScaleFactorImpl() {
const int64 kInvalidDisplayIDForCompileTimeInit = -1;
int64 internal_display_id_ = kInvalidDisplayIDForCompileTimeInit;
+
} // namespace
const int64 Display::kInvalidDisplayID = kInvalidDisplayIDForCompileTimeInit;
« no previous file with comments | « no previous file | ui/gfx/screen_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698