diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-21 19:39:00 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-21 19:39:00 +0000 |
commit | a06205bb9810944c1fffaacd5f642398b0d40fef (patch) | |
tree | 5769cecc6e91bbb2cc9469a820e6296adba46435 /chrome/browser/dom_ui | |
parent | f9fbcefdaea963c8b2fc8590b7ec24ab741576fd (diff) | |
download | chromium_src-a06205bb9810944c1fffaacd5f642398b0d40fef.zip chromium_src-a06205bb9810944c1fffaacd5f642398b0d40fef.tar.gz chromium_src-a06205bb9810944c1fffaacd5f642398b0d40fef.tar.bz2 |
More tweaks and fixes for extension and bookmark sync promo.
Make bookmark sync link start up the sync process. Make the message more aesthetically pleasing.
Improve the overall layout of the message; ensure it doesn't overlap the NTP content. Also add a border to the notification line so that it matches the promo line in appearance, and stands out against themes of all colors.
BUG=27853, 28047
TEST= start chrome, click on "bookmark sync" in promo message on NTP. chrome should start up the bookmark sync process.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32619
*** REDONE for branch, as original committed version relies on files that will not be merged to 249. ***
Review URL: http://codereview.chromium.org/429005
git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32749 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 7cf4dc0..3ab71a8 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -912,10 +912,9 @@ void NewTabUI::NewTabHTMLSource::InitFullHTML(Profile* profile) { localized_strings.SetString(L"promonew", l10n_util::GetString(IDS_NTP_PROMOTION_NEW)); localized_strings.SetString(L"promomessage", - l10n_util::GetStringF(IDS_NTP_PROMOTION_MESSAGE, + l10n_util::GetStringF(IDS_NTP_PROMO_MESSAGE, l10n_util::GetString(IDS_PRODUCT_NAME), - ASCIIToWide(Extension::kGalleryBrowseUrl), - l10n_util::GetString(IDS_SYNC_SERVICE_HELP_URL))); + ASCIIToWide(Extension::kGalleryBrowseUrl))); localized_strings.SetString(L"extensionslink", ASCIIToWide(Extension::kGalleryBrowseUrl)); |