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

Unified Diff: ui/views/mus/os_exchange_data_provider_mus.cc

Issue 2323553002: mash: Use the new mus drag and drop API to get drag working in mash. (Closed)
Patch Set: Patch cleanup Created 4 years, 3 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/os_exchange_data_provider_mus.cc
diff --git a/ui/views/mus/os_exchange_data_provider_mus.cc b/ui/views/mus/os_exchange_data_provider_mus.cc
index 008ad1e659c17edbd88e347570b01b8053a26b56..edfea9e382ce9754b75914b4a854f14e3ea00d2f 100644
--- a/ui/views/mus/os_exchange_data_provider_mus.cc
+++ b/ui/views/mus/os_exchange_data_provider_mus.cc
@@ -4,6 +4,11 @@
#include "ui/views/mus/os_exchange_data_provider_mus.h"
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
#include "base/stl_util.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
@@ -52,6 +57,9 @@ void AddString16ToVector(const base::string16& str,
OSExchangeDataProviderMus::OSExchangeDataProviderMus() {}
+OSExchangeDataProviderMus::OSExchangeDataProviderMus(const Data& data)
+ : mime_data_(data) {}
+
OSExchangeDataProviderMus::~OSExchangeDataProviderMus() {}
OSExchangeDataProviderMus::Data OSExchangeDataProviderMus::GetData() const {
@@ -251,7 +259,6 @@ bool OSExchangeDataProviderMus::HasCustomFormat(
void OSExchangeDataProviderMus::SetFileContents(
const base::FilePath& filename,
const std::string& file_contents) {
-
}
#endif

Powered by Google App Engine
This is Rietveld 408576698