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

Issue 7256002: Multi-Profiles: New Profile Setup UI (Closed)

Created:
9 years, 6 months ago by sail
Modified:
9 years, 5 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, arv (Not doing code reviews), achuith+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Multi-Profiles: New Profile Setup UI This change adds DOM UI to setup a new profile. When the user clicks Wrench Menu -> New Profile the following happens: 1 we create a new profile and give it a good default name and icon 2 we open a browser window and navigate it to chrome://newprofile 3 user customizes the name and icon if they wish and then click Create 4 we navigate to the new tab page where we optionally show the Sign In To Sync promo page This change implements 3 and 4. Screenshots: - http://www.dropmocks.com/mW4un BUG=None TEST=Navigated to chrome://newprofile and verified that things looked ok Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91573

Patch Set 1 #

Patch Set 2 : Diff against parent branch #

Patch Set 3 : Remove debug code #

Patch Set 4 : show product logo at bottom #

Total comments: 28

Patch Set 5 : address review feedback #

Patch Set 6 : reverse button order on windows #

Patch Set 7 : address review comments #

Total comments: 63

Patch Set 8 : Address review comments #

Total comments: 17

Patch Set 9 : Address review comments #

Total comments: 9

Patch Set 10 : address review comments #

Total comments: 21

Patch Set 11 : Add todo #

Patch Set 12 : Address review comments #

Total comments: 2

Patch Set 13 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+638 lines, -14 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 2 3 4 5 12 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 7 12 6 chunks +30 lines, -14 lines 0 comments Download
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 7 12 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/resources/new_profile.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +111 lines, -0 lines 0 comments Download
A chrome/browser/resources/new_profile.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/resources/new_profile.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_factory.cc View 1 2 3 4 5 6 7 12 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/new_profile_handler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/new_profile_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/new_profile_ui.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/new_profile_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +104 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 12 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 12 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
sail
9 years, 6 months ago (2011-06-24 18:54:54 UTC) #1
sail
9 years, 5 months ago (2011-06-27 14:42:41 UTC) #2
Miranda Callahan
This is great -- mostly nits, but a few issues/questions: 1. The boxes for profile ...
9 years, 5 months ago (2011-06-27 16:42:08 UTC) #3
James Hawkins
Similar to Miranda's comments: are there mocks for this UI? I have a lot of ...
9 years, 5 months ago (2011-06-27 16:43:10 UTC) #4
Miranda Callahan
Another issue -- when I launch an incognito window with your patch installed, I get ...
9 years, 5 months ago (2011-06-27 16:44:18 UTC) #5
sail
New Screenshots: http://www.dropmocks.com/mWxdW > 1. The boxes for profile name and profile icon don't line ...
9 years, 5 months ago (2011-06-27 17:37:24 UTC) #6
sail
On 2011/06/27 16:44:18, Miranda Callahan wrote: > Another issue -- when I launch an incognito ...
9 years, 5 months ago (2011-06-27 17:44:11 UTC) #7
Miranda Callahan
On 2011/06/27 17:37:24, sail wrote: > New Screenshots: http://www.dropmocks.com/mWxdW > > > 1. The boxes ...
9 years, 5 months ago (2011-06-27 17:57:07 UTC) #8
Miranda Callahan
On 2011/06/27 17:44:11, sail wrote: > On 2011/06/27 16:44:18, Miranda Callahan wrote: > > Another ...
9 years, 5 months ago (2011-06-27 17:59:23 UTC) #9
sail
On 2011/06/27 17:59:23, Miranda Callahan wrote: > On 2011/06/27 17:44:11, sail wrote: > > On ...
9 years, 5 months ago (2011-06-27 18:23:49 UTC) #10
mirandac
On Mon, Jun 27, 2011 at 14:23, <sail@chromium.org> wrote: > On 2011/06/27 17:59:23, Miranda Callahan ...
9 years, 5 months ago (2011-06-27 18:27:07 UTC) #11
sail
> 1. I go to chrome://newprofile > 2. I hit ctrl-shift-n to launch a new ...
9 years, 5 months ago (2011-06-27 18:44:07 UTC) #12
Miranda Callahan
On 2011/06/27 18:44:07, sail wrote: > > 1. I go to chrome://newprofile > > 2. ...
9 years, 5 months ago (2011-06-27 19:05:02 UTC) #13
James Hawkins
Um, did you accidentally commit this?
9 years, 5 months ago (2011-06-28 19:52:06 UTC) #14
sail
On 2011/06/28 19:52:06, James Hawkins wrote: > Um, did you accidentally commit this? Oops, sorry ...
9 years, 5 months ago (2011-06-28 20:09:59 UTC) #15
James Hawkins
On 2011/06/28 20:09:59, sail wrote: > On 2011/06/28 19:52:06, James Hawkins wrote: > > Um, ...
9 years, 5 months ago (2011-06-28 20:11:31 UTC) #16
sail
On 2011/06/28 20:11:31, James Hawkins wrote: > On 2011/06/28 20:09:59, sail wrote: > > On ...
9 years, 5 months ago (2011-06-28 20:14:08 UTC) #17
Evan Stade
I will withhold comments until the ui review comes back, but I would like to ...
9 years, 5 months ago (2011-06-28 22:03:02 UTC) #18
sail
On 2011/06/28 22:03:02, Evan Stade wrote: > I will withhold comments until the ui review ...
9 years, 5 months ago (2011-06-28 22:07:21 UTC) #19
James Hawkins
On 2011/06/28 22:07:21, sail wrote: > On 2011/06/28 22:03:02, Evan Stade wrote: > > I ...
9 years, 5 months ago (2011-06-28 22:32:33 UTC) #20
sail
Address all comments - layout is like incognito now, horizontally centered but pinned to the ...
9 years, 5 months ago (2011-06-30 21:40:28 UTC) #21
Miranda Callahan
Thanks -- LGTM with one tiny nit. http://codereview.chromium.org/7256002/diff/3001/chrome/browser/resources/new_profile.js File chrome/browser/resources/new_profile.js (right): http://codereview.chromium.org/7256002/diff/3001/chrome/browser/resources/new_profile.js#newcode78 chrome/browser/resources/new_profile.js:78: return false; ...
9 years, 5 months ago (2011-06-30 22:31:46 UTC) #22
sail
Evan and James could you take another look. I'd like to get this in soon ...
9 years, 5 months ago (2011-06-30 22:38:15 UTC) #23
James Hawkins
http://codereview.chromium.org/7256002/diff/21004/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7256002/diff/21004/chrome/app/generated_resources.grd#newcode12769 chrome/app/generated_resources.grd:12769: <message name="IDS_NEW_PROFILE_SETUP_TITLE" desc="Title of the new profile setup page."> ...
9 years, 5 months ago (2011-06-30 23:02:58 UTC) #24
sail
http://codereview.chromium.org/7256002/diff/21004/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7256002/diff/21004/chrome/app/generated_resources.grd#newcode12769 chrome/app/generated_resources.grd:12769: <message name="IDS_NEW_PROFILE_SETUP_TITLE" desc="Title of the new profile setup page."> ...
9 years, 5 months ago (2011-07-01 01:16:18 UTC) #25
James Hawkins
http://codereview.chromium.org/7256002/diff/21004/chrome/browser/ui/webui/new_profile_ui.cc File chrome/browser/ui/webui/new_profile_ui.cc (right): http://codereview.chromium.org/7256002/diff/21004/chrome/browser/ui/webui/new_profile_ui.cc#newcode63 chrome/browser/ui/webui/new_profile_ui.cc:63: AddLocalizedString("title", IDS_NEW_PROFILE_SETUP_TITLE); On 2011/07/01 01:16:18, sail wrote: > On ...
9 years, 5 months ago (2011-07-01 01:52:48 UTC) #26
sail
http://codereview.chromium.org/7256002/diff/19008/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7256002/diff/19008/chrome/app/generated_resources.grd#newcode12774 chrome/app/generated_resources.grd:12774: Create On 2011/07/01 01:52:48, James Hawkins wrote: > Only ...
9 years, 5 months ago (2011-07-01 18:08:56 UTC) #27
James Hawkins
LGTM with nits. Note that for the CSS colors, if it ends up actually being ...
9 years, 5 months ago (2011-07-01 18:15:32 UTC) #28
sail
http://codereview.chromium.org/7256002/diff/22001/chrome/browser/resources/new_profile.html File chrome/browser/resources/new_profile.html (right): http://codereview.chromium.org/7256002/diff/22001/chrome/browser/resources/new_profile.html#newcode46 chrome/browser/resources/new_profile.html:46: <script src="chrome://newprofile/new_profile.js"></script> On 2011/07/01 18:15:32, James Hawkins wrote: > ...
9 years, 5 months ago (2011-07-01 18:20:22 UTC) #29
James Hawkins
http://codereview.chromium.org/7256002/diff/22001/chrome/browser/resources/new_profile.html File chrome/browser/resources/new_profile.html (right): http://codereview.chromium.org/7256002/diff/22001/chrome/browser/resources/new_profile.html#newcode46 chrome/browser/resources/new_profile.html:46: <script src="chrome://newprofile/new_profile.js"></script> On 2011/07/01 18:20:22, sail wrote: > On ...
9 years, 5 months ago (2011-07-01 18:27:06 UTC) #30
sail
> How? See print_preview.html and print_preview.js for examples of what I'm > asking. I moved ...
9 years, 5 months ago (2011-07-01 19:43:47 UTC) #31
James Hawkins
LGTM but add a TODO about the scripts at the bottom. There is a bug ...
9 years, 5 months ago (2011-07-01 20:13:48 UTC) #32
sail
On 2011/07/01 20:13:48, James Hawkins wrote: > LGTM but add a TODO about the scripts ...
9 years, 5 months ago (2011-07-01 20:17:36 UTC) #33
Evan Stade
http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.css File chrome/browser/resources/new_profile.css (right): http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.css#newcode1 chrome/browser/resources/new_profile.css:1: html { license header http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.css#newcode38 chrome/browser/resources/new_profile.css:38: .page * input[type="button"], ...
9 years, 5 months ago (2011-07-01 20:33:18 UTC) #34
sail
http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.css File chrome/browser/resources/new_profile.css (right): http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.css#newcode1 chrome/browser/resources/new_profile.css:1: html { On 2011/07/01 20:33:18, Evan Stade wrote: > ...
9 years, 5 months ago (2011-07-01 23:47:04 UTC) #35
Evan Stade
thanks. LGTM with nits http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.html File chrome/browser/resources/new_profile.html (right): http://codereview.chromium.org/7256002/diff/24001/chrome/browser/resources/new_profile.html#newcode37 chrome/browser/resources/new_profile.html:37: i18n-values="value:createProfile"> On 2011/07/01 23:47:04, sail ...
9 years, 5 months ago (2011-07-01 23:59:36 UTC) #36
sail
9 years, 5 months ago (2011-07-02 00:02:09 UTC) #37
http://codereview.chromium.org/7256002/diff/10002/chrome/browser/resources/ne...
File chrome/browser/resources/new_profile.html (right):

http://codereview.chromium.org/7256002/diff/10002/chrome/browser/resources/ne...
chrome/browser/resources/new_profile.html:14: 
On 2011/07/01 23:59:36, Evan Stade wrote:
> sorry for not being specific. I meant in general, throughout the file.

jhawkins asked me to remove blank lines earlier in the review.

Powered by Google App Engine
This is Rietveld 408576698