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

Unified Diff: ui/views/examples/examples_window.cc

Issue 2836313002: BoxLayout now suports per-view margins. (Closed)
Patch Set: Fixed BoxLayout for unit tests 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
« no previous file with comments | « ui/views/examples/box_layout_example.cc ('k') | ui/views/layout/box_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index af4a6df1504c9f5699cb03fc65bc71c11c38e985..08cd1e44d1ae4e738d98319418f26ef2ecc4ef50 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -19,6 +19,7 @@
#include "ui/views/background.h"
#include "ui/views/controls/combobox/combobox.h"
#include "ui/views/controls/label.h"
+#include "ui/views/examples/box_layout_example.h"
#include "ui/views/examples/bubble_example.h"
#include "ui/views/examples/button_example.h"
#include "ui/views/examples/button_sticker_sheet.h"
@@ -58,6 +59,7 @@ namespace {
// Creates the default set of examples.
ExampleVector CreateExamples() {
ExampleVector examples;
+ examples.push_back(base::MakeUnique<BoxLayoutExample>());
examples.push_back(base::MakeUnique<BubbleExample>());
examples.push_back(base::MakeUnique<ButtonExample>());
examples.push_back(base::MakeUnique<ButtonStickerSheet>());
« no previous file with comments | « ui/views/examples/box_layout_example.cc ('k') | ui/views/layout/box_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698