diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 20:37:43 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 20:37:43 +0000 |
commit | 9775eb1e54557b55e5d49c305a41d64fd5c32e6d (patch) | |
tree | 6beea6972fbe6a2972e96c0de3e36d2950a50196 /chrome/app/nibs/BookmarkBar.xib | |
parent | 1e032f0d7ab21e849aab5099fa88b8dcad2940a9 (diff) | |
download | chromium_src-9775eb1e54557b55e5d49c305a41d64fd5c32e6d.zip chromium_src-9775eb1e54557b55e5d49c305a41d64fd5c32e6d.tar.gz chromium_src-9775eb1e54557b55e5d49c305a41d64fd5c32e6d.tar.bz2 |
Mac: Empty bookmark bar should show IDS_BOOKMARKS_NO_ITEMS.
TEST=BookmarkBarControllerTest.DisplaysHelpMessageOnEmpty
TEST=BookmarkBarControllerTest.HidesHelpMessageWithBookmark
BUG=17360
Review URL: http://codereview.chromium.org/216052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs/BookmarkBar.xib')
-rw-r--r-- | chrome/app/nibs/BookmarkBar.xib | 105 |
1 files changed, 96 insertions, 9 deletions
diff --git a/chrome/app/nibs/BookmarkBar.xib b/chrome/app/nibs/BookmarkBar.xib index c2b1784..bc2e350 100644 --- a/chrome/app/nibs/BookmarkBar.xib +++ b/chrome/app/nibs/BookmarkBar.xib @@ -8,10 +8,10 @@ <string key="IBDocument.HIToolboxVersion">353.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="1"/> - <integer value="75"/> <integer value="4"/> <integer value="18"/> + <integer value="1"/> + <integer value="75"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -65,6 +65,45 @@ <object class="NSCustomView" id="610146462"> <reference key="NSNextResponder" ref="620641226"/> <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="1013234954"> + <reference key="NSNextResponder" ref="610146462"/> + <int key="NSvFlags">-2147483382</int> + <string key="NSFrame">{{5, 122}, {582, 17}}</string> + <reference key="NSSuperview" ref="610146462"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="458754719"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">^IDS_BOOKMARKS_NO_ITEMS</string> + <object class="NSFont" key="NSSupport"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <reference key="NSControlView" ref="1013234954"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlTextColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + </object> + </object> <string key="NSFrameSize">{584, 144}</string> <reference key="NSSuperview" ref="620641226"/> <string key="NSClassName">BookmarkBarView</string> @@ -548,6 +587,22 @@ </object> <int key="connectionID">81</int> </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">owner_</string> + <reference key="source" ref="849863465"/> + <reference key="destination" ref="1001"/> + </object> + <int key="connectionID">86</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">noItemTextfield_</string> + <reference key="source" ref="610146462"/> + <reference key="destination" ref="1013234954"/> + </object> + <int key="connectionID">87</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -753,6 +808,10 @@ <object class="IBObjectRecord"> <int key="objectID">62</int> <reference key="object" ref="610146462"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1013234954"/> + </object> <reference key="parent" ref="620641226"/> </object> <object class="IBObjectRecord"> @@ -789,6 +848,20 @@ <reference key="object" ref="582055256"/> <reference key="parent" ref="190917733"/> </object> + <object class="IBObjectRecord"> + <int key="objectID">82</int> + <reference key="object" ref="1013234954"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="458754719"/> + </object> + <reference key="parent" ref="610146462"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">83</int> + <reference key="object" ref="458754719"/> + <reference key="parent" ref="1013234954"/> + </object> </object> </object> <object class="NSMutableDictionary" key="flattenedProperties"> @@ -836,6 +909,8 @@ <string>75.IBPluginDependency</string> <string>76.IBPluginDependency</string> <string>8.IBPluginDependency</string> + <string>82.IBPluginDependency</string> + <string>83.IBPluginDependency</string> <string>9.IBPluginDependency</string> </object> <object class="NSMutableArray" key="dict.values"> @@ -843,7 +918,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{96, 477}, {600, 144}}</string> + <string>{{793, 486}, {600, 144}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -852,7 +927,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{380, 543}, {365, 213}}</string> + <string>{{1047, 789}, {365, 213}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -866,7 +941,7 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{370, 543}, {375, 213}}</string> + <string>{{489, 789}, {375, 213}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -882,6 +957,8 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> </object> </object> <object class="NSMutableDictionary" key="unlocalizedProperties"> @@ -904,7 +981,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">81</int> + <int key="maxID">87</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -926,7 +1003,6 @@ <string>openBookmarkInNewForegroundTab:</string> <string>openBookmarkInNewWindow:</string> <string>openFolderMenuFromButton:</string> - <string>openOffTheSideMenuFromButton:</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -940,7 +1016,6 @@ <string>id</string> <string>id</string> <string>id</string> - <string>id</string> </object> </object> <object class="NSMutableDictionary" key="outlets"> @@ -956,7 +1031,7 @@ <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSMenu</string> - <string>NSView</string> + <string>BookmarkBarView</string> <string>MenuButton</string> <string>id</string> <string>id</string> @@ -970,12 +1045,24 @@ <object class="IBPartialClassDescription"> <string key="className">BookmarkBarView</string> <string key="superclassName">NSView</string> + <object class="NSMutableDictionary" key="outlets"> + <string key="NS.key.0">noItemTextfield_</string> + <string key="NS.object.0">NSTextField</string> + </object> <object class="IBClassDescriptionSource" key="sourceIdentifier"> <string key="majorKey">IBProjectSource</string> <string key="minorKey">browser/cocoa/bookmark_bar_view.h</string> </object> </object> <object class="IBPartialClassDescription"> + <string key="className">BookmarkBarView</string> + <string key="superclassName">NSView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> <string key="className">ChromeUILocalizer</string> <string key="superclassName">GTMUILocalizer</string> <object class="IBClassDescriptionSource" key="sourceIdentifier"> |