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

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

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: remove this and fix mac 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
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..11f33839de0be0db170acbc38f35ee4f5c00e54e 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -62,6 +62,12 @@ class VIEWS_MUS_EXPORT MusClient
static MusClient* Get() { return instance_; }
+ // Returns true if a DesktopNativeWidgetAura should be created given the
+ // specified params. If this returns false a NativeWidgetAura should be
+ // created.
+ static bool ShouldCreateDesktopNativeWidgetAura(
+ const Widget::InitParams& init_params);
+
service_manager::Connector* connector() { return connector_; }
aura::WindowTreeClient* window_tree_client() {
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698