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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.h

Issue 2940583002: Move drag related functionality out of LocalFrame (Closed)
Patch Set: updatedPS Created 3 years, 6 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 | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/clipboard/DataTransfer.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.h b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
index e9f8cced8d5746ed6b1e10bde1ffab7eae1a889a..68cab1512ef44cce41c6cb27bfe29b341a73fd3b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -44,6 +44,8 @@ class FileList;
class FrameSelection;
class LocalFrame;
class Node;
+class PaintRecordBuilder;
+class PropertyTreeState;
// Used for drag and drop and copy/paste.
// Drag and Drop:
@@ -132,6 +134,16 @@ class CORE_EXPORT DataTransfer final
DataObject* GetDataObject() const;
+ static FloatRect DeviceSpaceBounds(const FloatRect, const LocalFrame&);
+ static std::unique_ptr<DragImage> CreateDragImageForFrame(
+ const LocalFrame&,
+ float,
+ RespectImageOrientationEnum,
+ const FloatRect&,
+ PaintRecordBuilder&,
+ const PropertyTreeState&);
+ static std::unique_ptr<DragImage> NodeImage(const LocalFrame&, Node&);
+
DECLARE_TRACE();
private:
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698