summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 21:54:26 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-12 21:54:26 +0000
commit2e2cacc40972c220dc077d51a1181cb16dd1d04a (patch)
tree9619c577b1bccb0e3b3ae9aeac92669cd968d8c1 /chrome/app
parente53f0d679b2d9e06cf056fa80d8e5175f1ff59e2 (diff)
downloadchromium_src-2e2cacc40972c220dc077d51a1181cb16dd1d04a.zip
chromium_src-2e2cacc40972c220dc077d51a1181cb16dd1d04a.tar.gz
chromium_src-2e2cacc40972c220dc077d51a1181cb16dd1d04a.tar.bz2
Sync Promo: Add "Setup Chrome Sync" menu item to the wrench menu
To better promote Sync we want to add a new "Setup Chrome Sync" menu item to the wrench menu. Clicking on the menu item shows the "sync sign in" dialog. If the user is already signed into sync then clicking on the menu item shows the "configure sync" dialog. BUG=None TEST=Ran and verified that the menu item works. Review URL: http://codereview.chromium.org/7324038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_command_ids.h1
-rw-r--r--chrome/app/generated_resources.grd11
2 files changed, 11 insertions, 1 deletions
diff --git a/chrome/app/chrome_command_ids.h b/chrome/app/chrome_command_ids.h
index 7dd424b..e85d964 100644
--- a/chrome/app/chrome_command_ids.h
+++ b/chrome/app/chrome_command_ids.h
@@ -170,6 +170,7 @@
#define IDC_PROFILING_ENABLED 40030
#define IDC_FILE_MANAGER 40031
#define IDC_BOOKMARKS_MENU 40032
+#define IDC_SHOW_SYNC_SETUP 40033
// Spell-check
// Insert any additional suggestions before _LAST; these have to be consecutive.
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index aa49484..63115ef 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -8372,7 +8372,16 @@ ls' lab.">
<message name="IDS_SYNC_USE_DEFAULT_SETTINGS" desc="The text to display on the link to go back to the default sync preferences.">
Use default settings
</message>
-
+ <if expr="pp_ifdef('use_titlecase')">
+ <message name="IDS_SHOW_SYNC_SETUP" desc="In title case. The title of the menu item to open the sync setup page. Shown in the Wrench menu.">
+ Set Up <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> Sync
+ </message>
+ </if>
+ <if expr="not pp_ifdef('use_titlecase')">
+ <message name="IDS_SHOW_SYNC_SETUP" desc="The title of the menu item to open the sync setup page. Shown in the Wrench menu.">
+ Set up <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> sync
+ </message>
+ </if>
<!-- SafeBrowsing -->
<message name="IDS_SAFE_BROWSING_MALWARE_TITLE" desc="SafeBrowsing Malware HTML title">
Malware Detected!