diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-28 19:46:51 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-28 19:46:51 +0000 |
commit | f8c128e141c7c7e64efe672a98f92414ff1f3706 (patch) | |
tree | d2eaaf43f930b39608be9b0822e0b7868b41cb0f /chrome/common/url_constants.cc | |
parent | 66a41debcb91a5404e70943665c5dcce07fba25e (diff) | |
download | chromium_src-f8c128e141c7c7e64efe672a98f92414ff1f3706.zip chromium_src-f8c128e141c7c7e64efe672a98f92414ff1f3706.tar.gz chromium_src-f8c128e141c7c7e64efe672a98f92414ff1f3706.tar.bz2 |
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/mWxdW
BUG=None
TEST=Navigated to chrome://newprofile and verified that things looked ok
Review URL: http://codereview.chromium.org/7256002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.cc')
-rw-r--r-- | chrome/common/url_constants.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 44aef6d..abb44c7b 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -79,6 +79,7 @@ const char kChromeUIKillURL[] = "chrome://kill/"; const char kChromeUIMemoryRedirectURL[] = "chrome://memory-redirect/"; const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; const char kChromeUINewTabURL[] = "chrome://newtab/"; +const char kChromeUINewProfile[] = "chrome://newprofile/"; const char kChromeUIPluginsURL[] = "chrome://plugins/"; const char kChromeUIPrintURL[] = "chrome://print/"; const char kChromeUISessionsURL[] = "chrome://sessions/"; @@ -155,6 +156,7 @@ const char kChromeUIMemoryHost[] = "memory"; const char kChromeUIMemoryRedirectHost[] = "memory-redirect"; const char kChromeUINetInternalsHost[] = "net-internals"; const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; +const char kChromeUINewProfileHost[] = "newprofile"; const char kChromeUINewTabHost[] = "newtab"; const char kChromeUIPluginsHost[] = "plugins"; const char kChromeUIPrintHost[] = "print"; |