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

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

Issue 2011833003: Implement ui::ClipboardMus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch cleanup. Created 4 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/mus/window_manager_connection.h
diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h
index 049e09509afb35c23ca2f7a6217e4d5e65610778..2115faa1d687c1bb50fce788c1f8703f5e5ac293 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -22,6 +22,7 @@ class Connector;
}
namespace views {
+class ClipboardMus;
class NativeWidget;
class PointerWatcher;
class ScreenMus;
@@ -31,6 +32,7 @@ class NativeWidgetDelegate;
// Provides configuration to mus in views. This consists of the following:
// . Provides a Screen implementation backed by mus.
+// . Provides a Clipboard implementation backed by mus.
// . Creates and owns a WindowTreeConnection.
// . Registers itself as the factory for creating NativeWidgets so that a
// NativeWidgetMus is created.
@@ -88,6 +90,9 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
// Must be empty on destruction.
base::ObserverList<PointerWatcher, true> pointer_watchers_;
+ // Object owned by Clipboard; explicit deletion method called in destructor.
+ views::ClipboardMus* clipboard_;
+
DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection);
};

Powered by Google App Engine
This is Rietveld 408576698