summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_plugin/browser_plugin_embedder.h
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 20:53:05 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 20:53:05 +0000
commit660f18eddada5f9cc329333df1eb834698c03f3a (patch)
tree573c556237f83bbbd447b7eadca3cbf00e8ace1c /content/browser/browser_plugin/browser_plugin_embedder.h
parent9b1e1cc023f835cb055c58e37bb63a5a170a20de (diff)
downloadchromium_src-660f18eddada5f9cc329333df1eb834698c03f3a.zip
chromium_src-660f18eddada5f9cc329333df1eb834698c03f3a.tar.gz
chromium_src-660f18eddada5f9cc329333df1eb834698c03f3a.tar.bz2
<webview>: Cleanup Pointer Lock & Simplify HandleKeyboardEvent
This CL makes BrowserPluginGuestDelegate::HandleKeyboardEvent match WebContentsDelegate::HandleKeyboardEvent. BUG=364141, 330264 Review URL: https://codereview.chromium.org/288113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_embedder.h')
-rw-r--r--content/browser/browser_plugin/browser_plugin_embedder.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index 019ec52..fb93c67 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -50,12 +50,6 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
// Called when embedder's |rwh| has sent screen rects to renderer.
void DidSendScreenRects();
- // Called when embedder's WebContentsImpl has unhandled keyboard input.
- // Returns whether the BrowserPlugin has handled the keyboard event.
- // Currently we are only interested in checking for the escape key to
- // unlock hte guest's pointer lock.
- bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
-
// Overrides factory for testing. Default (NULL) value indicates regular
// (non-test) environment.
static void set_factory_for_testing(BrowserPluginHostFactory* factory) {