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

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

Issue 672673005: Remove IsHighDPIEnabled, move EnableHighDPISupport to only place it's used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dpi-cleanup-5
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/win/dpi.h
diff --git a/ui/gfx/win/dpi.h b/ui/gfx/win/dpi.h
index 8c39ab9e87943e4b5391d3ebf3611cc32ec99496..02c798ca16a545fbe8a0988a027a25c0e5d1c815 100644
--- a/ui/gfx/win/dpi.h
+++ b/ui/gfx/win/dpi.h
@@ -25,11 +25,6 @@ GFX_EXPORT Size GetDPI();
// 96 then the scale factor is 1.0.
GFX_EXPORT float GetDPIScale();
-// Tests to see if the command line flag "--high-dpi-support" is set.
-GFX_EXPORT bool IsHighDPIEnabled();
-
-GFX_EXPORT void EnableHighDPISupport();
-
namespace win {
GFX_EXPORT Point ScreenToDIPPoint(const Point& pixel_point);
@@ -50,9 +45,6 @@ GFX_EXPORT Size DIPToScreenSize(const Size& dip_size);
// GetSystemMetrics for the given |metric|, then converts the result to DIP.
GFX_EXPORT int GetSystemMetricsInDIP(int metric);
-GFX_EXPORT extern const wchar_t kRegistryProfilePath[];
-GFX_EXPORT extern const wchar_t kHighDPISupportW[];
-
} // namespace win
} // namespace gfx
« ui/gfx/screen_win.cc ('K') | « ui/gfx/screen_win.cc ('k') | ui/gfx/win/dpi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698