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

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

Issue 2194003002: services/ui: Have an explicit lifetime/ownership of ui::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge Created 4 years, 4 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 | « services/ui/demo/mus_demo.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 867e97b4522a1dcd7fe157b571c1a7c6d6441807..69291f7da625dc031173fbce3416d6393579d3ff 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -24,6 +24,10 @@ namespace shell {
class Connector;
}
+namespace ui {
+class GpuService;
+}
+
namespace views {
class ClipboardMus;
class NativeWidget;
@@ -96,6 +100,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
shell::Identity identity_;
std::unique_ptr<ScreenMus> screen_;
std::unique_ptr<ui::WindowTreeClient> client_;
+ std::unique_ptr<ui::GpuService> gpu_service_;
// Must be empty on destruction.
base::ObserverList<PointerWatcher, true> pointer_watchers_;
base::ObserverList<TouchEventWatcher, true> touch_event_watchers_;
« no previous file with comments | « services/ui/demo/mus_demo.cc ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698