diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 20:46:37 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 20:46:37 +0000 |
commit | 1ae99501e0a15b85f0593a71c939063027c802d4 (patch) | |
tree | ae2c255da0ff4687c78b2a017dd1b660a8ed343c /chrome/app/nibs | |
parent | f8fc92385be0fb12cfffd14db9c6f3b461bec447 (diff) | |
download | chromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.zip chromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.tar.gz chromium_src-1ae99501e0a15b85f0593a71c939063027c802d4.tar.bz2 |
Implement a status throbber on the mac, currently using the Win artwork. Made the tab cell use a generic NSView for showing the icon instead of relying on the NSButtonCell to draw it, so a NSImageView is in place by default. Remove un-needed outlets, bindings, and views from the nib. BUG=11916. TEST=loading pages, opening and closing tabs.
Review URL: http://codereview.chromium.org/115527
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs')
-rw-r--r-- | chrome/app/nibs/en.lproj/TabView.xib | 147 |
1 files changed, 63 insertions, 84 deletions
diff --git a/chrome/app/nibs/en.lproj/TabView.xib b/chrome/app/nibs/en.lproj/TabView.xib index 3cd6798..9752f4b 100644 --- a/chrome/app/nibs/en.lproj/TabView.xib +++ b/chrome/app/nibs/en.lproj/TabView.xib @@ -2,10 +2,10 @@ <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03"> <data> <int key="IBDocument.SystemTarget">1050</int> - <string key="IBDocument.SystemVersion">9G55</string> + <string key="IBDocument.SystemVersion">9F33</string> <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> + <string key="IBDocument.AppKitVersion">949.34</string> + <string key="IBDocument.HIToolboxVersion">352.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> <integer value="1"/> @@ -58,10 +58,6 @@ <reference key="NSControlView" ref="279592484"/> <int key="NSButtonFlags">-2034482945</int> <int key="NSButtonFlags2">134</int> - <object class="NSCustomResource" key="NSNormalImage"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">nav</string> - </object> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> <int key="NSPeriodicDelay">400</int> @@ -100,15 +96,37 @@ </object> <bool key="NSEditable">YES</bool> </object> - <object class="NSProgressIndicator" id="58797509"> + <object class="NSImageView" id="987403091"> <reference key="NSNextResponder" ref="1005"/> - <int key="NSvFlags">-2147482327</int> - <object class="NSPSMatrix" key="NSDrawMatrix"/> - <string key="NSFrame">{{131, 4}, {16, 16}}</string> + <int key="NSvFlags">268</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{18, 5}, {16, 16}}</string> <reference key="NSSuperview" ref="1005"/> - <int key="NSpiFlags">28938</int> - <double key="NSMinValue">1.600000e+01</double> - <double key="NSMaxValue">1.000000e+02</double> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="1061639670"> + <int key="NSCellFlags">537001472</int> + <int key="NSCellFlags2">33587200</int> + <object class="NSCustomResource" key="NSContents"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">nav</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">2</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> </object> <object class="NSButton" id="1054640993"> <reference key="NSNextResponder" ref="1005"/> @@ -160,14 +178,6 @@ <int key="connectionID">25</int> </object> <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">progressIndicator_</string> - <reference key="source" ref="1001"/> - <reference key="destination" ref="58797509"/> - </object> - <int key="connectionID">27</int> - </object> - <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> <string key="label">title: title</string> <reference key="source" ref="707804163"/> @@ -185,58 +195,6 @@ </object> <object class="IBConnectionRecord"> <object class="IBBindingConnection" key="connection"> - <string key="label">animate: loading</string> - <reference key="source" ref="58797509"/> - <reference key="destination" ref="1001"/> - <object class="NSNibBindingConnector" key="connector"> - <reference key="NSSource" ref="58797509"/> - <reference key="NSDestination" ref="1001"/> - <string key="NSLabel">animate: loading</string> - <string key="NSBinding">animate</string> - <string key="NSKeyPath">loading</string> - <int key="NSNibBindingConnectorVersion">2</int> - </object> - </object> - <int key="connectionID">31</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBBindingConnection" key="connection"> - <string key="label">hidden: loading</string> - <reference key="source" ref="58797509"/> - <reference key="destination" ref="1001"/> - <object class="NSNibBindingConnector" key="connector"> - <reference key="NSSource" ref="58797509"/> - <reference key="NSDestination" ref="1001"/> - <string key="NSLabel">hidden: loading</string> - <string key="NSBinding">hidden</string> - <string key="NSKeyPath">loading</string> - <object class="NSDictionary" key="NSOptions"> - <string key="NS.key.0">NSValueTransformerName</string> - <string key="NS.object.0">NSNegateBoolean</string> - </object> - <int key="NSNibBindingConnectorVersion">2</int> - </object> - </object> - <int key="connectionID">43</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBBindingConnection" key="connection"> - <string key="label">image: image</string> - <reference key="source" ref="279592484"/> - <reference key="destination" ref="1001"/> - <object class="NSNibBindingConnector" key="connector" id="703997475"> - <reference key="NSSource" ref="279592484"/> - <reference key="NSDestination" ref="1001"/> - <string key="NSLabel">image: image</string> - <string key="NSBinding">image</string> - <string key="NSKeyPath">image</string> - <int key="NSNibBindingConnectorVersion">2</int> - </object> - </object> - <int key="connectionID">44</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBBindingConnection" key="connection"> <string key="label">title: title</string> <reference key="source" ref="279592484"/> <reference key="destination" ref="1001"/> @@ -246,7 +204,7 @@ <string key="NSLabel">title: title</string> <string key="NSBinding">title</string> <string key="NSKeyPath">title</string> - <reference key="NSPreviousConnector" ref="703997475"/> + <reference key="NSPreviousConnector"/> <int key="NSNibBindingConnectorVersion">2</int> </object> </object> @@ -284,6 +242,14 @@ </object> <int key="connectionID">54</int> </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">iconView_</string> + <reference key="source" ref="1001"/> + <reference key="destination" ref="987403091"/> + </object> + <int key="connectionID">58</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -320,9 +286,9 @@ <object class="NSMutableArray" key="children"> <bool key="EncodedWithXMLCoder">YES</bool> <reference ref="569334633"/> - <reference ref="58797509"/> <reference ref="279592484"/> <reference ref="1054640993"/> + <reference ref="987403091"/> </object> <reference key="parent" ref="1002"/> </object> @@ -341,11 +307,6 @@ <reference key="parent" ref="569334633"/> </object> <object class="IBObjectRecord"> - <int key="objectID">12</int> - <reference key="object" ref="58797509"/> - <reference key="parent" ref="1005"/> - </object> - <object class="IBObjectRecord"> <int key="objectID">17</int> <reference key="object" ref="279592484"/> <object class="NSMutableArray" key="children"> @@ -373,6 +334,20 @@ <reference key="object" ref="348599947"/> <reference key="parent" ref="1054640993"/> </object> + <object class="IBObjectRecord"> + <int key="objectID">55</int> + <reference key="object" ref="987403091"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1061639670"/> + </object> + <reference key="parent" ref="1005"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">56</int> + <reference key="object" ref="1061639670"/> + <reference key="parent" ref="987403091"/> + </object> </object> </object> <object class="NSMutableDictionary" key="flattenedProperties"> @@ -387,13 +362,14 @@ <string>1.IBViewEditorWindowController.showingLayoutRectangles</string> <string>1.WindowOrigin</string> <string>1.editorWindowContentRectSynchronizationRect</string> - <string>12.IBPluginDependency</string> <string>17.IBEditorWindowLastContentRect</string> <string>17.IBPluginDependency</string> <string>18.CustomClassName</string> <string>18.IBPluginDependency</string> <string>50.IBPluginDependency</string> <string>51.IBPluginDependency</string> + <string>55.IBPluginDependency</string> + <string>56.IBPluginDependency</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -405,13 +381,14 @@ <boolean value="NO"/> <string>{628, 654}</string> <string>{{217, 442}, {480, 272}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>{{77, 725}, {134, 29}}</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>TabCell</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> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> </object> </object> <object class="NSMutableDictionary" key="unlocalizedProperties"> @@ -434,7 +411,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">54</int> + <int key="maxID">58</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -466,12 +443,14 @@ <object class="NSMutableArray" key="dict.sortedKeys"> <bool key="EncodedWithXMLCoder">YES</bool> <string>backgroundButton_</string> + <string>iconView_</string> <string>progressIndicator_</string> <string>target_</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> <string>NSButton</string> + <string>NSView</string> <string>NSProgressIndicator</string> <string>id</string> </object> |