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

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: rebase-6 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
« no previous file with comments | « ui/gfx/screen_win.cc ('k') | ui/gfx/win/dpi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/dpi.h
diff --git a/ui/gfx/win/dpi.h b/ui/gfx/win/dpi.h
index 67e3c63af60d92922da119b5c7ef4836af00a72a..02c798ca16a545fbe8a0988a027a25c0e5d1c815 100644
--- a/ui/gfx/win/dpi.h
+++ b/ui/gfx/win/dpi.h
@@ -25,15 +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();
-
-GFX_EXPORT void ForceHighDPISupportForTesting(float scale);
-
-// TODO(kevers|girard): Move above methods into win namespace.
-
namespace win {
GFX_EXPORT Point ScreenToDIPPoint(const Point& pixel_point);
@@ -54,13 +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);
-// Returns true if the global device scale factor has been explicitly set for
-// the process.
-GFX_EXPORT bool IsDeviceScaleFactorSet();
-
-GFX_EXPORT extern const wchar_t kRegistryProfilePath[];
-GFX_EXPORT extern const wchar_t kHighDPISupportW[];
-
} // namespace win
} // namespace gfx
« no previous file with comments | « 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