| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index b02984b877e81175d44226033125e7bff05f4c42..2acb4edf6427b765d2a901a928981384596db52f 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1187,11 +1187,6 @@ bool WebContentsImpl::PreHandleKeyboardEvent(
|
| }
|
|
|
| void WebContentsImpl::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
|
| - if (browser_plugin_embedder_ &&
|
| - browser_plugin_embedder_->HandleKeyboardEvent(event)) {
|
| - return;
|
| - }
|
| -
|
| if (delegate_)
|
| delegate_->HandleKeyboardEvent(this, event);
|
| }
|
| @@ -2229,6 +2224,9 @@ gfx::Size WebContentsImpl::GetPreferredSize() const {
|
| }
|
|
|
| bool WebContentsImpl::GotResponseToLockMouseRequest(bool allowed) {
|
| + if (GetBrowserPluginGuest())
|
| + return GetBrowserPluginGuest()->LockMouse(allowed);
|
| +
|
| return GetRenderViewHost() ?
|
| GetRenderViewHostImpl()->GotResponseToLockMouseRequest(allowed) : false;
|
| }
|
|
|