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

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

Issue 2211253002: mus/views: Create a mus OSExchangeData::Provider stub, and use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DCHECK. Fixed unit tests? 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 | « ui/views/mus/os_exchange_data_provider_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 69291f7da625dc031173fbce3416d6393579d3ff..4cbdcdac52713af5e8e12ccb7f99d8073c25dce2 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -16,6 +16,7 @@
#include "base/observer_list.h"
#include "services/shell/public/cpp/identity.h"
#include "services/ui/public/cpp/window_tree_client_delegate.h"
+#include "ui/base/dragdrop/os_exchange_data_provider_factory.h"
#include "ui/views/mus/mus_export.h"
#include "ui/views/mus/screen_mus_delegate.h"
#include "ui/views/widget/widget.h"
@@ -49,7 +50,8 @@ class NativeWidgetDelegate;
// TODO(sky): this name is now totally confusing. Come up with a better one.
class VIEWS_MUS_EXPORT WindowManagerConnection
: public NON_EXPORTED_BASE(ui::WindowTreeClientDelegate),
- public ScreenMusDelegate {
+ public ScreenMusDelegate,
+ public ui::OSExchangeDataProviderFactory::Factory {
public:
~WindowManagerConnection() override;
@@ -96,6 +98,9 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
void OnWindowManagerFrameValuesChanged() override;
gfx::Point GetCursorScreenPoint() override;
+ // ui:OSExchangeDataProviderFactory::Factory:
+ std::unique_ptr<OSExchangeData::Provider> BuildProvider() override;
+
shell::Connector* connector_;
shell::Identity identity_;
std::unique_ptr<ScreenMus> screen_;
« no previous file with comments | « ui/views/mus/os_exchange_data_provider_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