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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 1888773003: Merge DragClientImpl into core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing file. Created 4 years, 8 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: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index f22a425b407d68f19a74e6bf624c415a5297f81b..26571db92bf22f72254d6ac4b8765de901544e60 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -253,6 +253,20 @@ bool ChromeClientImpl::hadFormInteraction() const
return m_webView->pageImportanceSignals() && m_webView->pageImportanceSignals()->hadFormInteraction();
}
+void ChromeClientImpl::startDragging(LocalFrame* frame,
+ const WebDragData& dragData,
+ WebDragOperationsMask mask,
+ const WebImage& dragImage,
+ const WebPoint& dragImageOffset)
+{
+ m_webView->startDragging(frame, dragData, mask, dragImage, dragImageOffset);
+}
+
+bool ChromeClientImpl::acceptsLoadDrops() const
+{
+ return !m_webView->client() || m_webView->client()->acceptsLoadDrops();
+}
+
namespace {
void updatePolicyForEvent(const WebInputEvent* inputEvent, NavigationPolicy* policy)

Powered by Google App Engine
This is Rietveld 408576698