Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Issue 568623002: Ensure that on Windows 7, relaunching the browser via chrome://restart or changing about:flags rela… (Closed)

Created:
6 years, 3 months ago by ananta
Modified:
6 years, 3 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Ensure 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M chrome/browser/first_run/upgrade_util_win.cc View 3 chunks +19 lines, -0 lines 2 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 chunk +3 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (3 generated)
ananta
sky : Please look at the upgrade_util_win.cc changes. cpu : Please look at both files.
6 years, 3 months ago (2014-09-11 23:02:19 UTC) #2
sky
LGTM
6 years, 3 months ago (2014-09-12 02:25:07 UTC) #3
cpu_(ooo_6.6-7.5)
the ash change lgtm. Please have Shrikant bless the other file change.
6 years, 3 months ago (2014-09-12 21:08:17 UTC) #4
Shrikant Kelkar
https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc File chrome/browser/first_run/upgrade_util_win.cc (right): https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc#newcode131 chrome/browser/first_run/upgrade_util_win.cc:131: Why temporary patch here? Why not make it uniform ...
6 years, 3 months ago (2014-09-12 21:53:29 UTC) #6
ananta
https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc File chrome/browser/first_run/upgrade_util_win.cc (right): https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc#newcode131 chrome/browser/first_run/upgrade_util_win.cc:131: On 2014/09/12 21:53:28, Shrikant Kelkar wrote: > Why temporary ...
6 years, 3 months ago (2014-09-12 23:49:59 UTC) #7
Shrikant Kelkar
On 2014/09/12 23:49:59, ananta wrote: > https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc > File chrome/browser/first_run/upgrade_util_win.cc (right): > > https://codereview.chromium.org/568623002/diff/20001/chrome/browser/first_run/upgrade_util_win.cc#newcode131 > ...
6 years, 3 months ago (2014-09-12 23:56:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/568623002/20001
6 years, 3 months ago (2014-09-13 00:32:54 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as a3645b8ce814cf6a4c37f66b6a6f28ba4f28f873
6 years, 3 months ago (2014-09-13 01:24:25 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-13 01:29:27 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/069fc881828aa504dc01891d2db80fc377d02643
Cr-Commit-Position: refs/heads/master@{#294721}

Powered by Google App Engine
This is Rietveld 408576698