Ensure that a fullscreen RenderWidgetHostViewAura instance does not restore...
Ensure that a fullscreen RenderWidgetHostViewAura instance does not restore itself on Windows when we switch away to a different monitor. We have code in RenderWidgetHostViewAura::OnWindowFocused to handle this case. It does this by comparing the display ids of the window being activated and the one losing activation. However in desktop Chrome we could lose activation to a non Aura Window. We handle this case on Windows by getting the cursor position and the display near that and comparing that with the display of the window losing activation. Fixes bug https://code.google.com/p/chromium/issues/detail?id=317532 BUG=317532 R=jam@chromium.org, jam Review URL: https://codereview.chromium.org/100683002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238441 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment