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

Unified Diff: ui/gfx/rect_conversions.h

Issue 16336027: Enable high dpi in win/views. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove some extraneous code. Created 7 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
Index: ui/gfx/rect_conversions.h
diff --git a/ui/gfx/rect_conversions.h b/ui/gfx/rect_conversions.h
index 854fb6ea3922d38956b5f7cd2cdb6c5a342dbda7..56011fc861c4331c7c0387321ba5b1134cd47b24 100644
--- a/ui/gfx/rect_conversions.h
+++ b/ui/gfx/rect_conversions.h
@@ -10,6 +10,9 @@
namespace gfx {
+// Returns a rect with a truncated origin, while maintaining the size.
+UI_EXPORT Rect ToSizedRect(const RectF& rect);
+
kevers 2013/06/06 13:32:33 Don't think this method is used anywhere in the pa
girard 2013/06/10 14:27:56 Agreed. It's gone.
// Returns the smallest Rect that encloses the given RectF.
UI_EXPORT Rect ToEnclosingRect(const RectF& rect);

Powered by Google App Engine
This is Rietveld 408576698