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

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

Issue 2836313002: BoxLayout now suports per-view margins. (Closed)
Patch Set: Fixed comment describing the BoxLayout behavior. Created 3 years, 6 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
Index: ui/views/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index d2654b4846d569e10def0cbb189bcf1dfab0b4f6..f3b3d0a39fe2e46ce9c7f3cf8751b55863cdce8a 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>());

Powered by Google App Engine
This is Rietveld 408576698