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

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: merge upstream changes, some changes per jamesr 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
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/page/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Frame.h
diff --git a/Source/core/page/Frame.h b/Source/core/page/Frame.h
index 1794d231f0817ce7d74a58b6a502bd3be84b2661..26192dfbb22e589126dbae47241d83f85a935db0 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;
@@ -147,8 +148,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);
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/page/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698