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

Unified Diff: ui/gfx/geometry/insets.cc

Issue 1750403005: [MD] some tweaks to download shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit Created 4 years, 9 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/geometry/insets.h ('k') | ui/gfx/geometry/insets_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/insets.cc
diff --git a/ui/gfx/geometry/insets.cc b/ui/gfx/geometry/insets.cc
index 46fb84ce233ef100fbb34de8f9736b17019acb58..08ee8f468697a7a44a0f0f6341f6f2cd7435108b 100644
--- a/ui/gfx/geometry/insets.cc
+++ b/ui/gfx/geometry/insets.cc
@@ -10,6 +10,11 @@ namespace gfx {
Insets::Insets() : Insets(0, 0, 0, 0) {}
+Insets::Insets(int all) : Insets(all, all, all, all) {}
+
+Insets::Insets(int vertical, int horizontal)
+ : Insets(vertical, horizontal, vertical, horizontal) {}
+
Insets::Insets(int top, int left, int bottom, int right)
: top_(top), left_(left), bottom_(bottom), right_(right) {}
« no previous file with comments | « ui/gfx/geometry/insets.h ('k') | ui/gfx/geometry/insets_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698