Index: chrome/renderer/resources/plugin_poster.html |
diff --git a/chrome/renderer/resources/plugin_poster.html b/chrome/renderer/resources/plugin_poster.html |
index e75a59885b895897862a363ff2fe1f4cf596c86d..9dc99c4189eb5d5a1787e6bad31a193c947c3f22 100644 |
--- a/chrome/renderer/resources/plugin_poster.html |
+++ b/chrome/renderer/resources/plugin_poster.html |
@@ -8,6 +8,13 @@ function notifyDidFinishLoading() { |
if (plugin.didFinishLoading) |
plugin.didFinishLoading(); |
} |
+ |
+document.onkeydown = function(e) { |
+ if (e.keyIdentifier == 'Enter' || e.keyIdentifier == 'U+0020') { |
+ plugin.load(); |
+ e.preventDefault(); |
+ } |
+}; |
</script> |
<link rel="stylesheet" href="plugin_placeholders.css"></link> |
<style> |