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

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

Issue 2230913003: Experimental alignment layout manager using a property on the views Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed AlignAttribute and associated types to FillAttribute 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/examples/anchor_example.cc ('k') | ui/views/examples/fill_example.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 3809c2fbf9f133f970415037c44363e697dfb1d8..08fdc42a4fc85df206e7c4dbbd32218b8136fece 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -17,11 +17,13 @@
#include "ui/views/background.h"
#include "ui/views/controls/combobox/combobox.h"
#include "ui/views/controls/label.h"
+#include "ui/views/examples/anchor_example.h"
#include "ui/views/examples/bubble_example.h"
#include "ui/views/examples/button_example.h"
#include "ui/views/examples/button_sticker_sheet.h"
#include "ui/views/examples/checkbox_example.h"
#include "ui/views/examples/combobox_example.h"
+#include "ui/views/examples/fill_example.h"
#include "ui/views/examples/label_example.h"
#include "ui/views/examples/link_example.h"
#include "ui/views/examples/menu_example.h"
@@ -55,11 +57,13 @@ namespace {
// Creates the default set of examples. Caller owns the result.
ScopedExamples CreateExamples() {
ScopedExamples examples(new ScopedVector<ExampleBase>);
+ examples->push_back(new AnchorExample);
examples->push_back(new BubbleExample);
examples->push_back(new ButtonExample);
examples->push_back(new ButtonStickerSheet);
examples->push_back(new CheckboxExample);
examples->push_back(new ComboboxExample);
+ examples->push_back(new FillExample);
examples->push_back(new LabelExample);
examples->push_back(new LinkExample);
examples->push_back(new MenuExample);
« no previous file with comments | « ui/views/examples/anchor_example.cc ('k') | ui/views/examples/fill_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698