DescriptionEnsure that on Windows 7, relaunching the browser via chrome://restart or changing about:flags relaunches into Chrome OS mode.
There were two problems here.
1. The viewer process on Windows 7 would not die : Fixed by destroying the window when we get a
signal from the browser process that the viewer needs to die.
2. Relaunching on Windows 7 would relaunch the existing browser process with the same command line.
On Windows 8 relaunch launches back into Windows 8 mode as delegate execute has code to launch back
into the previous mode. On Windows 7 we don't have that luxury. The current approach is to detect
that we are in Windows 7 in a browser launched to service the viewer process and return that we
need to launch into Chrome OS mode. Additionally we set the corresponding pref to ensure that
this is honored.
BUG=413101
Committed: https://crrev.com/069fc881828aa504dc01891d2db80fc377d02643
Cr-Commit-Position: refs/heads/master@{#294721}
Patch Set 1 #Patch Set 2 : Reverted changes to ui\views\controls #
Total comments: 4
Messages
Total messages: 12 (3 generated)
|