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

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

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.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 12d658ae8ed162f4bf1a61cb7529e997f37c8302..7f1d23c77c98a2df04b62ade354ff12184ef1f4f 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -55,7 +55,6 @@
#include "public/web/WebView.h"
#include "web/ChromeClientImpl.h"
#include "web/ContextMenuClientImpl.h"
-#include "web/DragClientImpl.h"
#include "web/EditorClientImpl.h"
#include "web/MediaKeysClientImpl.h"
#include "web/PageWidgetDelegate.h"
@@ -298,11 +297,6 @@ public:
WebColor backgroundColorOverride() const { return m_backgroundColorOverride; }
- const WebPoint& lastMouseDownPoint() const
- {
- return m_lastMouseDownPoint;
- }
-
Frame* focusedCoreFrame() const;
// Returns the currently focused Element or null if no element has focus.
@@ -630,7 +624,6 @@ private:
Persistent<ChromeClientImpl> m_chromeClientImpl;
ContextMenuClientImpl m_contextMenuClientImpl;
- DragClientImpl m_dragClientImpl;
EditorClientImpl m_editorClientImpl;
SpellCheckerClientImpl m_spellCheckerClientImpl;
StorageClientImpl m_storageClientImpl;
@@ -653,15 +646,6 @@ private:
// A copy of the web drop data object we received from the browser.
Persistent<DataObject> m_currentDragData;
- // The point relative to the client area where the mouse was last pressed
- // down. This is used by the drag client to determine what was under the
- // mouse when the drag was initiated. We need to track this here in
- // WebViewImpl since DragClient::startDrag does not pass the position the
- // mouse was at when the drag was initiated, only the current point, which
- // can be misleading as it is usually not over the element the user actually
- // dragged by the time a drag is initiated.
- WebPoint m_lastMouseDownPoint;
-
// Keeps track of the current zoom level. 0 means no zoom, positive numbers
// mean zoom in, negative numbers mean zoom out.
double m_zoomLevel;

Powered by Google App Engine
This is Rietveld 408576698