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

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

Issue 2439093002: Reland of "Added common layout framework for system menu rows." (Closed)
Patch Set: Addressed review comments. 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_layout_manager.cc ('k') | ui/views/test/test_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views.h
diff --git a/ui/views/test/test_views.h b/ui/views/test/test_views.h
index ef17c150dcb9ac7498a0e6209ffaee426f307641..eaabcd0e0cdc108dfa5dd2f692ed073e0ec5d944 100644
--- a/ui/views/test/test_views.h
+++ b/ui/views/test/test_views.h
@@ -16,7 +16,7 @@ namespace views {
// A view that requests a set amount of space.
class StaticSizedView : public View {
public:
- explicit StaticSizedView(const gfx::Size& size);
+ explicit StaticSizedView(const gfx::Size& preferred_size = gfx::Size());
~StaticSizedView() override;
void set_minimum_size(const gfx::Size& minimum_size) {
@@ -33,7 +33,7 @@ class StaticSizedView : public View {
gfx::Size GetMaximumSize() const override;
private:
- gfx::Size size_;
+ gfx::Size preferred_size_;
gfx::Size minimum_size_;
gfx::Size maximum_size_;
« no previous file with comments | « ui/views/test/test_layout_manager.cc ('k') | ui/views/test/test_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698