summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 02:00:05 +0000
committerjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 02:00:05 +0000
commit0fe0b5f74ed823219277fcb95b1c9feebe3423ff (patch)
tree373f5aedabf217a83d5c9bc32a81a3fb499bf146 /content
parent2f13b76852c43fb200ef7adbb8214064b18837de (diff)
downloadchromium_src-0fe0b5f74ed823219277fcb95b1c9feebe3423ff.zip
chromium_src-0fe0b5f74ed823219277fcb95b1c9feebe3423ff.tar.gz
chromium_src-0fe0b5f74ed823219277fcb95b1c9feebe3423ff.tar.bz2
Revert 150666 - Browser Plugin: Tell WebKit that the Browser Plugin supports keyboard focus.
Now that http://trac.webkit.org/changeset/124954 has landed, let's tell WebKit that this plugin supports keyboard focus. BUG=120263 Review URL: https://chromiumcodereview.appspot.com/10831215 TBR=fsamuel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10831229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/renderer/browser_plugin/browser_plugin.cc4
-rw-r--r--content/renderer/browser_plugin/browser_plugin.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index 8ba5421..124350e 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -282,10 +282,6 @@ NPObject* BrowserPlugin::scriptableObject() {
return browser_plugin_np_object;
}
-bool BrowserPlugin::supportsKeyboardFocus() 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 210774b..c7f095a 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -60,7 +60,6 @@ class CONTENT_EXPORT BrowserPlugin :
virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE;
virtual void destroy() OVERRIDE;
virtual NPObject* scriptableObject() OVERRIDE;
- virtual bool supportsKeyboardFocus() const OVERRIDE;
virtual void paint(
WebKit::WebCanvas* canvas,
const WebKit::WebRect& rect) OVERRIDE;