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

Unified Diff: ui/views/mus/mus_client.h

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: git add Created 4 years, 1 month 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/mus/mus_client.h
diff --git a/ui/views/mus/mus_client.h b/ui/views/mus/mus_client.h
index b0664a6614149af1e9bd1c27d5891da6896cc9e3..e9258518cae7044bb2573b4de5264019b513ea0d 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -62,6 +62,11 @@ class VIEWS_MUS_EXPORT MusClient
static MusClient* Get() { return instance_; }
+ // Returns true if a DesktopNativeWidgetAura should be created given the
+ // specified params.
msw 2016/11/11 00:29:24 nit: "Otherwise, the appropriate type to use is Na
sky 2016/11/11 01:09:13 That's right. Updated.
+ static bool ShouldCreateDesktopNativeWidgetAura(
+ const Widget::InitParams& init_params);
+
service_manager::Connector* connector() { return connector_; }
aura::WindowTreeClient* window_tree_client() {

Powered by Google App Engine
This is Rietveld 408576698