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

Unified Diff: public/platform/WebDragData.h

Issue 169323002: Oilpan: Move core/clipboard/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« Source/core/events/Event.h ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDragData.h
diff --git a/public/platform/WebDragData.h b/public/platform/WebDragData.h
index c89dd9b4ca953ea7e583500a0873e8ca3370ed14..b55654c0daf2377e9690faad1a8d4d9c17620920 100644
--- a/public/platform/WebDragData.h
+++ b/public/platform/WebDragData.h
@@ -38,7 +38,10 @@
#if BLINK_IMPLEMENTATION
namespace WebCore { class DataObject; }
-namespace WTF { template <typename T> class PassRefPtr; }
+namespace WTF {
+template <typename T> class PassRefPtr;
+template <typename T> class RawPtr;
+}
#endif
namespace blink {
@@ -83,15 +86,11 @@ public:
WebURL baseURL;
};
- ~WebDragData() { reset(); }
+ ~WebDragData();
- WebDragData() : m_private(0) { }
- WebDragData(const WebDragData& d) : m_private(0) { assign(d); }
- WebDragData& operator=(const WebDragData& d)
- {
- assign(d);
- return *this;
- }
+ WebDragData();
+ WebDragData(const WebDragData&);
+ WebDragData& operator=(const WebDragData&);
BLINK_EXPORT void initialize();
BLINK_EXPORT void reset();
@@ -107,9 +106,9 @@ public:
BLINK_EXPORT void setFilesystemId(const WebString&);
#if BLINK_IMPLEMENTATION
- WebDragData(const WTF::PassRefPtr<WebCore::DataObject>&);
- WebDragData& operator=(const WTF::PassRefPtr<WebCore::DataObject>&);
- operator WTF::PassRefPtr<WebCore::DataObject>() const;
+ WebDragData(const WebCore::PassRefPtrWillBeRawPtr<WebCore::DataObject>&);
+ WebDragData& operator=(const WebCore::PassRefPtrWillBeRawPtr<WebCore::DataObject>&);
+ WebCore::DataObject* getValue() const;
#endif
private:
« Source/core/events/Event.h ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698