From f26be845e5a2ac82133bae82c3e7429af1f52eb3 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Fri, 6 Nov 2009 20:47:40 +0000 Subject: Revert 31284 - Added menu item for sync to wrench menu. Wrench menu item is right above "Preferences...". Chrome menu item will be added in a future CL right above "Clear Browsing Data...". Sync menu items are hidden if bookmark sync is disabled (the current default for OS X). UI decisions were made after consulting with Cole. Added code in browser_window_controller.mm to update sync menu item dynamically. Added unit tests. BUG=23073 TEST=manual testing, trybots, unittests Review URL: http://codereview.chromium.org/363017 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/374017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31289 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/nibs/Toolbar.xib | 57 ++++----------------------------------------- 1 file changed, 4 insertions(+), 53 deletions(-) (limited to 'chrome/app/nibs/Toolbar.xib') diff --git a/chrome/app/nibs/Toolbar.xib b/chrome/app/nibs/Toolbar.xib index 06b94b1..92ba964 100644 --- a/chrome/app/nibs/Toolbar.xib +++ b/chrome/app/nibs/Toolbar.xib @@ -2,13 +2,12 @@ 1050 - 9L31a + 9L30 677 949.54 353.00 YES - @@ -643,28 +642,6 @@ - - - YES - YES - ^IDS_SYNC_START_SYNC_BUTTON_LABEL - - 2147483647 - - - 41108 - - - - YES - YES - YES - - - 2147483647 - - - ^IDS_PREFERENCES_MAC @@ -1053,14 +1030,6 @@ 139 - - - commandDispatch: - - - - 142 - @@ -1292,8 +1261,6 @@ - - @@ -1514,16 +1481,6 @@ - - 140 - - - - - 141 - - - @@ -1552,8 +1509,6 @@ 13.IBPluginDependency 14.CustomClassName 14.IBPluginDependency - 140.IBPluginDependency - 141.IBPluginDependency 15.CustomClassName 15.IBPluginDependency 2.CustomClassName @@ -1649,8 +1604,6 @@ com.apple.InterfaceBuilder.CocoaPlugin ToolbarButtonCell com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin ClickHoldButtonCell com.apple.InterfaceBuilder.CocoaPlugin DelayedMenuButton @@ -1710,12 +1663,12 @@ com.apple.InterfaceBuilder.CocoaPlugin AutocompleteTextField com.apple.InterfaceBuilder.CocoaPlugin - {{1454, 785}, {235, 293}} + {{979, 432}, {235, 293}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{362, 493}, {335, 263}} + {{362, 523}, {306, 233}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1793,7 +1746,7 @@ - 142 + 139 @@ -2029,7 +1982,6 @@ customPagesArrayController_ downloadLocationButton_ downloadLocationControl_ - enableLoggingCheckbox_ personalStuffGroupAutofill_ personalStuffGroupBrowserData_ personalStuffGroupPasswords_ @@ -2051,7 +2003,6 @@ NSArrayController NSButton NSPathControl - NSButton NSArray NSArray NSArray -- cgit v1.1