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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_win.h

Issue 2792183002: Delete ash-based code for Windows drag-and-drop graphics. (Closed)
Patch Set: ashdrag: addheaders Created 3 years, 8 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/base/dragdrop/os_exchange_data_provider_win.h
diff --git a/ui/base/dragdrop/os_exchange_data_provider_win.h b/ui/base/dragdrop/os_exchange_data_provider_win.h
index 9987779f2a1e8ad6799b098febfefb32cde21dce..86f95a604ce8ed395fe91219c048816a6fca786a 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_win.h
+++ b/ui/base/dragdrop/os_exchange_data_provider_win.h
@@ -178,19 +178,15 @@ class UI_BASE_EXPORT OSExchangeDataProviderWin
bool HasCustomFormat(const Clipboard::FormatType& format) const override;
void SetDownloadFileInfo(
const OSExchangeData::DownloadFileInfo& download_info) override;
- void SetDragImage(const gfx::ImageSkia& image,
+ void SetDragImage(const gfx::ImageSkia& image_skia,
const gfx::Vector2d& cursor_offset) override;
- const gfx::ImageSkia& GetDragImage() const override;
- const gfx::Vector2d& GetDragImageOffset() const override;
+ gfx::ImageSkia GetDragImage() const override;
+ gfx::Vector2d GetDragImageOffset() const override;
private:
scoped_refptr<DataObjectImpl> data_;
base::win::ScopedComPtr<IDataObject> source_object_;
- // Drag image and offset data. Only used for Ash.
- gfx::ImageSkia drag_image_;
- gfx::Vector2d drag_image_offset_;
-
DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderWin);
};

Powered by Google App Engine
This is Rietveld 408576698