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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 11154025: browser-plugin: Accept drags through the new WebPlugin interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/test/data/browser_plugin_dragging.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 6139b839c0b5fb59bee0e1fcb2196686c49dbba4..c8b3779df7f52eff24f1628a21883649c6de7f68 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.
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/test/data/browser_plugin_dragging.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698