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

Unified Diff: ash/system/tray/size_range_layout.cc

Issue 2896533002: cros: Simple password view for lock. Adds test support. (Closed)
Patch Set: Initial upload Created 3 years, 7 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
« ash/login/ui/login_test_base.cc ('K') | « ash/system/tray/size_range_layout.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/size_range_layout.cc
diff --git a/ash/system/tray/size_range_layout.cc b/ash/system/tray/size_range_layout.cc
index 7404ed2da570dc230a4b98fb508d2ca4c9ca63f6..29cc471b612fc1b9c732da5dc23e4fd347496d8b 100644
--- a/ash/system/tray/size_range_layout.cc
+++ b/ash/system/tray/size_range_layout.cc
@@ -22,6 +22,9 @@ SizeRangeLayout::SizeRangeLayout()
: SizeRangeLayout(gfx::Size(kAbsoluteMinSize, kAbsoluteMinSize),
gfx::Size(kAbsoluteMaxSize, kAbsoluteMaxSize)) {}
+SizeRangeLayout::SizeRangeLayout(const gfx::Size& size)
+ : SizeRangeLayout(size, size) {}
+
SizeRangeLayout::SizeRangeLayout(const gfx::Size& min_size,
const gfx::Size& max_size)
: layout_manager_(new views::FillLayout()),
« ash/login/ui/login_test_base.cc ('K') | « ash/system/tray/size_range_layout.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698