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

Issue 10332024: [cros] Show release notes in app window + restore sesssion. (Closed)

Created:
8 years, 7 months ago by Nikita (slow)
Modified:
8 years, 7 months ago
Reviewers:
Dmitry Polukhin, sky
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[cros] Show release notes in app window + restore sesssion. This covers special case of "Release notes" in ChromeOS. All existing users would be shown new Getting Started Guide in app window in addition to their restored session when they would sign in after next update. Just passing --app=[GSG URL] is not enough as session would not be restored. Also using --app-restore-session + chrome://newtab for new user case so that user won't end up with empty desktop after closing GSG window. Not adding --app-restore-session switch to ChromeOS only switches so that it won't complicate BrowserInit code with ifdefs. BUG=126098, 1260025 TEST=Manual. Sign in with existing user after update and see GSG in app window + restored session. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135882

Patch Set 1 #

Patch Set 2 : comment #

Patch Set 3 : open NTP for new user. #

Total comments: 2

Patch Set 4 : remove flag, add browser_defaults const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -4 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/defaults.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/defaults.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Nikita (slow)
dpolukhin@ - please review whole CL. sky@ - please review browser_init.cc
8 years, 7 months ago (2012-05-05 11:14:18 UTC) #1
Nikita (slow)
Updated description + addressed case for ChromeOS new user: open NTP in the background & ...
8 years, 7 months ago (2012-05-05 12:17:00 UTC) #2
sky
Could you clarify what exactly it is you're trying to add? Thanks, -Scott
8 years, 7 months ago (2012-05-07 04:30:41 UTC) #3
sky
On 2012/05/07 04:30:41, sky wrote: > Could you clarify what exactly it is you're trying ...
8 years, 7 months ago (2012-05-07 22:56:44 UTC) #4
sky
http://codereview.chromium.org/10332024/diff/8001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/10332024/diff/8001/chrome/common/chrome_switches.cc#newcode67 chrome/common/chrome_switches.cc:67: const char kAppRestoreSession[] = "app-restore-session"; I suspect we would ...
8 years, 7 months ago (2012-05-07 22:58:26 UTC) #5
Nikita (slow)
Scott, please take a look, removed flag, added const to browser_defaults instead. http://codereview.chromium.org/10332024/diff/8001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc ...
8 years, 7 months ago (2012-05-08 08:47:58 UTC) #6
sky
LGTM
8 years, 7 months ago (2012-05-08 15:42:40 UTC) #7
commit-bot: I haz the power
8 years, 7 months ago (2012-05-08 17:47:10 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698