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

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

Issue 1667273002: Creates BackgroundShell and uses it in test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 years, 10 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/mus/run_all_unittests_mus.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_manager_connection.h
diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h
index 1554b916ad0156dfec556fe9096b627c1c5bf975..ff8eeaf4cb7637e3d695d3310dcf2f50431062d5 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -40,6 +40,9 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
static void Create(mojo::Shell* shell);
static WindowManagerConnection* Get();
+ // Destroys the singleton instance.
+ static void Reset();
+
mojo::Shell* shell() { return shell_; }
mus::Window* NewWindow(const std::map<std::string,
« no previous file with comments | « ui/views/mus/run_all_unittests_mus.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698