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

Unified Diff: ui/base/layout.h

Issue 326143002: Remove ui::GetImageScale (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac build Created 6 years, 6 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 | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/layout.h
diff --git a/ui/base/layout.h b/ui/base/layout.h
index af5abc825bfe2dd427424b5e642c53b9451a0312..e994eae30b350123431a5cfcc3489a692cc3bf16 100644
--- a/ui/base/layout.h
+++ b/ui/base/layout.h
@@ -42,12 +42,6 @@ UI_BASE_EXPORT void SetSupportedScaleFactors(
// platform, in ascending order.
UI_BASE_EXPORT const std::vector<ScaleFactor>& GetSupportedScaleFactors();
-// OBSOLETE: Use GetScaleForScaleFactor instead.
-// TODO(oshima): Remove this.
-// Returns the actual image scale to be used for the scale factor passed in.
-// On Windows high dpi, this returns the dpi scale for the display.
-UI_BASE_EXPORT float GetImageScale(ScaleFactor scale_factor);
-
// Returns the supported ScaleFactor which most closely matches |scale|.
// Converting from float to ScaleFactor is inefficient and should be done as
// little as possible.
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698