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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2475443003: Drag-and-drop: Move startDrag out of WebView/RenderView. (Closed)
Patch Set: Removed unneeded declarations. Created 4 years, 1 month 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/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index d7b4643dfd8c589f14b37a752b394bda025bfda6..5cbf14d9716cbf6d33dd9445dafc71953644c31b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -389,13 +389,6 @@ class WEB_EXPORT WebViewImpl final
void updateMainFrameLayoutSize();
void updatePageDefinedViewportConstraints(const ViewportDescription&);
- // Start a system drag and drop operation.
- void startDragging(LocalFrame*,
- const WebDragData& dragData,
- WebDragOperationsMask mask,
- const WebImage& dragImage,
- const WebPoint& dragImageOffset);
-
PagePopup* openPagePopup(PagePopupClient*);
void closePagePopup(PagePopup*);
void cleanupPagePopup();
@@ -511,6 +504,8 @@ class WEB_EXPORT WebViewImpl final
ChromeClientImpl& chromeClient() const { return *m_chromeClientImpl.get(); }
+ void setDoingDragAndDrop(bool doing) { m_doingDragAndDrop = doing; }
+
private:
InspectorOverlay* inspectorOverlay();
@@ -669,6 +664,8 @@ class WEB_EXPORT WebViewImpl final
float m_fakePageScaleAnimationPageScaleFactor;
bool m_fakePageScaleAnimationUseAnchor;
+ // TODO(paulmeyer): Move this to WebWidget once all drag-and-drop functions
+ // are there.
bool m_doingDragAndDrop;
bool m_ignoreInputEvents;
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698