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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index e5d845e9d073d7e2c90e9867b6fc09b977ca5a6d..0074713a06cce5ac4266bc527ff9af6858a0fa57 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -401,7 +401,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
, m_spellCheckClient(nullptr)
, m_chromeClientImpl(ChromeClientImpl::create(this))
, m_contextMenuClientImpl(this)
- , m_dragClientImpl(this)
, m_editorClientImpl(this)
, m_spellCheckerClientImpl(this)
, m_storageClientImpl(this)
@@ -450,7 +449,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
pageClients.chromeClient = m_chromeClientImpl.get();
pageClients.contextMenuClient = &m_contextMenuClientImpl;
pageClients.editorClient = &m_editorClientImpl;
- pageClients.dragClient = &m_dragClientImpl;
pageClients.spellCheckerClient = &m_spellCheckerClientImpl;
m_page = Page::createOrdinary(pageClients);
@@ -536,8 +534,6 @@ void WebViewImpl::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& ev
DCHECK(!m_pagePopup);
}
- m_lastMouseDownPoint = WebPoint(event.x, event.y);
-
// Take capture on a mouse down on a plugin so we can send it mouse events.
// If the hit node is a plugin but a scrollbar is over it don't start mouse
// capture because it will interfere with the scrollbar receiving events.

Powered by Google App Engine
This is Rietveld 408576698