diff options
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin.cc | 4 | ||||
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin.h | 1 | ||||
-rw-r--r-- | content/test/data/browser_plugin_dragging.html | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc index 6139b83..c8b3779 100644 --- a/content/renderer/browser_plugin/browser_plugin.cc +++ b/content/renderer/browser_plugin/browser_plugin.cc @@ -549,6 +549,10 @@ bool BrowserPlugin::supportsKeyboardFocus() const { return true; } +bool BrowserPlugin::canProcessDrag() const { + return true; +} + void BrowserPlugin::paint(WebCanvas* canvas, const WebRect& rect) { if (guest_crashed_) { if (!sad_guest_) // Lazily initialize bitmap. diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h index f646f3c2..c311682 100644 --- a/content/renderer/browser_plugin/browser_plugin.h +++ b/content/renderer/browser_plugin/browser_plugin.h @@ -108,6 +108,7 @@ class CONTENT_EXPORT BrowserPlugin : virtual void destroy() OVERRIDE; virtual NPObject* scriptableObject() OVERRIDE; virtual bool supportsKeyboardFocus() const OVERRIDE; + virtual bool canProcessDrag() const OVERRIDE; virtual void paint( WebKit::WebCanvas* canvas, const WebKit::WebRect& rect) OVERRIDE; diff --git a/content/test/data/browser_plugin_dragging.html b/content/test/data/browser_plugin_dragging.html index cecfd14..1a0c38c 100644 --- a/content/test/data/browser_plugin_dragging.html +++ b/content/test/data/browser_plugin_dragging.html @@ -7,7 +7,6 @@ width="240" height="120" style='border: solid 1px red' - contentEditable > </object> |