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

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: comments 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
« no previous file with comments | « ui/views/mus/os_exchange_data_provider_mus.h ('k') | ui/views/widget/drop_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7d47924848a14be964e593a97e00740c56501ecc 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(Data data)
+ : mime_data_(std::move(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
« no previous file with comments | « ui/views/mus/os_exchange_data_provider_mus.h ('k') | ui/views/widget/drop_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698