Making window.focus() work in Chrome.
A patch on the WebKit side https://bugs.webkit.org/show_bug.cgi?id=43542
ensures we get the correct notification when window.focus()/blur() is called.
This CL makes the browser active/unactive in response to the focus/blur message.

BUG=29643
TEST=Visit gmail. Open an IM conversation window and pop-it out.
     Focus the browser (so the IM window is in the back). Click on the person name in the IM section of gmail.
     The conversation window should be brought back to the front.
     Repeat but this time minimize the conversation window.

Review URL: http://codereview.chromium.org/3060045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55678 0039d316-1c4b-4281-b951-d872f2087c98
30 files changed