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

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

Issue 2915223002: mash: Fix mash app shelf items; encapsulate ash property setup. (Closed)
Patch Set: Similar changes for other mash apps. 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
Index: ui/views/examples/examples_window.h
diff --git a/ui/views/examples/examples_window.h b/ui/views/examples/examples_window.h
index 804252fcc9bde2ba21d2d24d5d0f02fa702ec5f7..064acddfede8bd2ede544da86db5727e0411114a 100644
--- a/ui/views/examples/examples_window.h
+++ b/ui/views/examples/examples_window.h
@@ -13,6 +13,7 @@
#include "ui/views/examples/views_examples_export.h"
namespace views {
+class Widget;
namespace examples {
enum Operation {
@@ -23,7 +24,7 @@ enum Operation {
// Shows a window with the views examples in it. |extra_examples| contains any
// additional examples to add. |window_context| is used to determine where the
// window should be created (see |Widget::InitParams::context| for details).
-VIEWS_EXAMPLES_EXPORT void ShowExamplesWindow(
+VIEWS_EXAMPLES_EXPORT Widget* ShowExamplesWindow(
Operation operation,
gfx::NativeWindow window_context = nullptr,
std::vector<std::unique_ptr<ExampleBase>> extra_examples =

Powered by Google App Engine
This is Rietveld 408576698