Unlock mouse when <webview> loses focus
commit79733a0d1a57ec3f6a9291056db01c9b52399333
authormthiesse@chromium.org <mthiesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 30 Apr 2013 15:05:35 +0000 (30 15:05 +0000)
committermthiesse@chromium.org <mthiesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 30 Apr 2013 15:05:35 +0000 (30 15:05 +0000)
tree45a3e4a880cfe0780ff093c5e09f0a0a95e823e5
parenta1a9a253ee1d5f1d986438c1de0d1b9ebb597698
Unlock mouse when <webview> loses focus

Normally when a view loses focus RenderWidgetHostImpl::Blur() is called, which unlocks the mouse. In gtk https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/renderer_host/render_widget_host_view_gtk.cc&rcl=1366953149&l=257 unlocks the mouse. However, since the guest view doesn't have this equivalent, it doesn't call Blur() or unlock the mouse.

BUG=235934

Review URL: https://chromiumcodereview.appspot.com/14314007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197369 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/browser_plugin/browser_plugin_guest.cc