summaryrefslogtreecommitdiffstats
path: root/webkit/api
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 17:35:45 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 17:35:45 +0000
commit28b92dfdb7135578d458ed6c85cd667a4b1cb8f2 (patch)
tree771f49ff652f0d1cc091d3c1e34520f2fc1a7137 /webkit/api
parentd99a435cc59e094784cabcab678112c104ebe0b1 (diff)
downloadchromium_src-28b92dfdb7135578d458ed6c85cd667a4b1cb8f2.zip
chromium_src-28b92dfdb7135578d458ed6c85cd667a4b1cb8f2.tar.gz
chromium_src-28b92dfdb7135578d458ed6c85cd667a4b1cb8f2.tar.bz2
Move another method from WebViewDelegate to WebViewClient.
This is kinda like yelling, right? R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/241002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r--webkit/api/public/WebViewClient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/api/public/WebViewClient.h b/webkit/api/public/WebViewClient.h
index 480243d..fa1c987 100644
--- a/webkit/api/public/WebViewClient.h
+++ b/webkit/api/public/WebViewClient.h
@@ -202,6 +202,10 @@ namespace WebKit {
virtual void startDragging(
const WebPoint& from, const WebDragData&, WebDragOperationsMask) = 0;
+ // Called to determine if drag-n-drop operations may initiate a page
+ // navigation.
+ virtual bool acceptsLoadDrops() = 0;
+
// Take focus away from the WebView by focusing an adjacent UI element
// in the containing window.
virtual void focusNext() = 0;