The metro_driver should not block the UI thread while waiting for the Chrome browser...
commitb1f98f2be2a9b791754eaebbefe4ffa599aa8c0b
authorananta <ananta@chromium.org>
Fri, 26 Sep 2014 22:32:12 +0000 (26 15:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Sep 2014 22:32:42 +0000 (26 22:32 +0000)
tree5e868bf426ee52b3baceb290124185adc1853b99
parent4c5a4267aaa7fa54da7c00df7bf87de2950bd973
The metro_driver should not block the UI thread while waiting for the Chrome browser IPC channel to be initialized.

This causes the taskbar to become unresponsive for a bit on Windows 7. Windows 8 also has the same
problem. However it is not as visible as on Windows 7.

Fix is to do the IPC channel dance in a timer.

BUG=417100
R=cpu

Review URL: https://codereview.chromium.org/593353003

Cr-Commit-Position: refs/heads/master@{#297058}
win8/metro_driver/chrome_app_view_ash.cc
win8/metro_driver/chrome_app_view_ash.h