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

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

Issue 138783002: Cleans up gyp file for views example and removes duplicate code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 6 years, 11 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/example_base.h ('k') | ui/views/examples/examples_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_main.cc
diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc
index 07647179931716c13635aa57291f11ee3def4578..62a64055bf7c5eb25518c8b52d2debe356452482 100644
--- a/ui/views/examples/examples_main.cc
+++ b/ui/views/examples/examples_main.cc
@@ -15,6 +15,7 @@
#include "ui/compositor/test/context_factories_for_test.h"
#include "ui/gfx/screen.h"
#include "ui/views/corewm/wm_state.h"
+#include "ui/views/examples/example_base.h"
#include "ui/views/examples/examples_window.h"
#include "ui/views/test/desktop_test_views_delegate.h"
@@ -63,7 +64,10 @@ int main(int argc, char** argv) {
desktop_screen.get());
#endif
- views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE);
+ views::examples::ShowExamplesWindow(
+ views::examples::QUIT_ON_CLOSE,
+ NULL,
+ scoped_ptr<ScopedVector<views::examples::ExampleBase> >());
base::RunLoop().Run();
« no previous file with comments | « ui/views/examples/example_base.h ('k') | ui/views/examples/examples_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698