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

Unified Diff: ui/base/layout.h

Issue 10962024: Reapply "Let Layout::GetSupportedScaleFactorFromScale() return only supported ScaleFactor." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove LayoutTest.GetScaleFactorFromScaleNoneSupported Created 8 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 | « no previous file | ui/base/layout.cc » ('j') | 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 f8836a06c29ce76147b0470788069272de4824ce..3992189ee8a847107ad0c4bd4b4e428c88109042 100644
--- a/ui/base/layout.h
+++ b/ui/base/layout.h
@@ -48,7 +48,7 @@ enum ScaleFactor {
// Returns the float scale value for |scale_factor|.
UI_EXPORT float GetScaleFactorScale(ScaleFactor scale_factor);
-// Returns the ScaleFactor which most closely matches |scale|.
+// Returns the supported ScaleFactor which most closely matches |scale|.
// Converting from float to ScaleFactor is inefficient and should be done as
// little as possible.
UI_EXPORT ScaleFactor GetScaleFactorFromScale(float scale);
« no previous file with comments | « no previous file | ui/base/layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698