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

Unified Diff: ui/views/test/test_views.cc

Issue 2460443002: Revert of "Added common layout framework for system menu rows." (Closed)
Patch Set: Created 4 years, 2 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/views/test/test_views.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views.cc
diff --git a/ui/views/test/test_views.cc b/ui/views/test/test_views.cc
index 78239f384a4993997cda723d7da46b0b33fba3ef..d0ad7d53186134e23fd4e6e6f76a2b7f9ded69d7 100644
--- a/ui/views/test/test_views.cc
+++ b/ui/views/test/test_views.cc
@@ -10,16 +10,17 @@
namespace views {
-StaticSizedView::StaticSizedView(const gfx::Size& preferred_size)
+StaticSizedView::StaticSizedView(const gfx::Size& size)
// Default GetMinimumSize() is GetPreferredSize(). Default GetMaximumSize()
// is 0x0.
- : preferred_size_(preferred_size),
- minimum_size_(preferred_size) {}
+ : size_(size),
+ minimum_size_(size) {
+}
StaticSizedView::~StaticSizedView() {}
gfx::Size StaticSizedView::GetPreferredSize() const {
- return preferred_size_;
+ return size_;
}
gfx::Size StaticSizedView::GetMinimumSize() const {
« no previous file with comments | « ui/views/test/test_views.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698