summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 16:04:19 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 16:04:19 +0000
commit46624bf3698811107781e6e6fbaf80622a3f77e8 (patch)
treef060d5f5cb71efe96ff8250225896c96ce646540 /chrome/browser/tab_contents/tab_contents.h
parent77c4f1f19f14c1a6f2c136d0ccb242afbfd6b7c4 (diff)
downloadchromium_src-46624bf3698811107781e6e6fbaf80622a3f77e8.zip
chromium_src-46624bf3698811107781e6e6fbaf80622a3f77e8.tar.gz
chromium_src-46624bf3698811107781e6e6fbaf80622a3f77e8.tar.bz2
Don't allow drop to panels (pop-ups) in ChromeOS.
BUG=chromium-os:2413 TEST=Verify fix for chromium-os:2413. Review URL: http://codereview.chromium.org/2779004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 5d49107..42c409b 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -667,6 +667,9 @@ class TabContents : public PageNavigator,
return language_state_;
}
+ // Returns true if underlying TabContentsView should accept drag-n-drop.
+ bool ShouldAcceptDragAndDrop() const;
+
// Creates a duplicate of this TabContents. The returned TabContents is
// configured such that the renderer has not been loaded (it'll load the first
// time it is selected).