commit | 2bcca7c7976bebaa0e09baf91d3546d67b5ee7c5 | [log] [tgz] |
---|---|---|
author | Fergus Dall <[email protected]> | Wed Aug 21 04:22:41 2019 |
committer | Commit Bot <[email protected]> | Wed Aug 21 04:22:41 2019 |
tree | 1134fe49e23b9a172d3d6a2258deb94f199f85e4 | |
parent | 1f94e9f455e24907957b10c0f308fc3239332325 [diff] [blame] |
Send live feedback on drag state to source Wayland apps expect to be updated during a drag operation regarding what action, if any, the current target is willing to accept. Implement this by adding a new method to DragDropClientObserver. [email protected] Bug: 927324 Change-Id: Idecc2070cd3f7f9cfdbaa3b95aa718ff5e1398d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1735568 Commit-Queue: Fergus Dall <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Daichi Hirono <[email protected]> Reviewed-by: Mitsuru Oshima (slow) <[email protected]> Reviewed-by: Nic Hollingum <[email protected]> Cr-Commit-Position: refs/heads/master@{#688865}
diff --git a/components/exo/data_source_unittest.cc b/components/exo/data_source_unittest.cc index 22ca10b..35ccbe6 100644 --- a/components/exo/data_source_unittest.cc +++ b/components/exo/data_source_unittest.cc
@@ -32,7 +32,7 @@ // Overridden from DataSourceDelegate: void OnDataSourceDestroying(DataSource* source) override {} - void OnTarget(const std::string& mime_type) override {} + void OnTarget(const base::Optional<std::string>& mime_type) override {} void OnSend(const std::string& mime_type, base::ScopedFD fd) override { ASSERT_TRUE( base::WriteFileDescriptor(fd.get(), kTestData, strlen(kTestData)));