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

Unified Diff: Source/core/page/Frame.h

Issue 16715002: Refactor WebCore::DragImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: Source/core/page/Frame.h
diff --git a/Source/core/page/Frame.h b/Source/core/page/Frame.h
index 9eb19cab1bc900bc81a000e4197145ba204bbc88..9151e55626d95e8ee276185e6b0b3933595dbc95 100644
--- a/Source/core/page/Frame.h
+++ b/Source/core/page/Frame.h
@@ -33,9 +33,9 @@
#include "core/page/AdjustViewSizeOrNot.h"
#include "core/page/FrameTree.h"
#include "core/platform/ScrollTypes.h"
-#include "core/platform/chromium/DragImageRef.h"
#include "core/platform/graphics/IntSize.h"
-#include <wtf/RefCounted.h>
+#include "wtf/Forward.h"
+#include "wtf/RefCounted.h"
namespace WebCore {
@@ -43,6 +43,7 @@ namespace WebCore {
class Color;
class DOMWindow;
class Document;
+ class DragImage;
class Editor;
class Element;
class EventHandler;
@@ -155,8 +156,8 @@ namespace WebCore {
String displayStringModifiedByEncoding(const String&) const;
- DragImageRef nodeImage(Node*);
- DragImageRef dragImageForSelection();
+ PassOwnPtr<DragImage> nodeImage(Node*);
+ PassOwnPtr<DragImage> dragImageForSelection();
VisiblePosition visiblePositionForPoint(const IntPoint& framePoint);
Document* documentAtPoint(const IntPoint& windowPoint);

Powered by Google App Engine
This is Rietveld 408576698