summaryrefslogtreecommitdiffstats
path: root/chrome/app/nibs/MainMenu.xib
diff options
context:
space:
mode:
authorshinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 16:26:00 +0000
committershinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 16:26:00 +0000
commitb1fa70a101d597a97805cef1ec09eeedf2fdeacc (patch)
treed5477832b30c305da134c01c1159accb872b3c75 /chrome/app/nibs/MainMenu.xib
parent036a050dc62269378e4374527469821a73d5c2b7 (diff)
downloadchromium_src-b1fa70a101d597a97805cef1ec09eeedf2fdeacc.zip
chromium_src-b1fa70a101d597a97805cef1ec09eeedf2fdeacc.tar.gz
chromium_src-b1fa70a101d597a97805cef1ec09eeedf2fdeacc.tar.bz2
Removed the code that checks the tab number.
'Close Window' can be used even if a window has single tab. NOTE: Cmd+w closes a window even if there is a single tab. XIB Changes: * Make the default key equivalent of 'Close Tab' Cmd+w * Make the default key equivalent of 'Close Window' Cmd+Shift+w * Remove the referencing outlets from 'Close Tab' and 'Close Window' No other changes are made. BUG=20569 TEST=press Cmd+Shift+w on a window having only one tab. Review URL: http://codereview.chromium.org/7065054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88133 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs/MainMenu.xib')
-rw-r--r--chrome/app/nibs/MainMenu.xib103
1 files changed, 24 insertions, 79 deletions
diff --git a/chrome/app/nibs/MainMenu.xib b/chrome/app/nibs/MainMenu.xib
index ae55a8f..944e22f 100644
--- a/chrome/app/nibs/MainMenu.xib
+++ b/chrome/app/nibs/MainMenu.xib
@@ -2,17 +2,17 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">10J567</string>
- <string key="IBDocument.InterfaceBuilderVersion">788</string>
+ <string key="IBDocument.SystemVersion">10J869</string>
+ <string key="IBDocument.InterfaceBuilderVersion">823</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
- <string key="IBDocument.HIToolboxVersion">462.00</string>
+ <string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">788</string>
+ <string key="NS.object.0">823</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="205"/>
+ <integer value="29"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -331,8 +331,8 @@
<object class="NSMenuItem" id="776162233">
<reference key="NSMenu" ref="720053764"/>
<string key="NSTitle">^IDS_CLOSE_WINDOW_MAC</string>
- <string key="NSKeyEquiv">w</string>
- <int key="NSKeyEquivModMask">1048576</int>
+ <string key="NSKeyEquiv">W</string>
+ <int key="NSKeyEquivModMask">1179648</int>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="353210768"/>
<reference key="NSMixedImage" ref="549394948"/>
@@ -340,7 +340,8 @@
<object class="NSMenuItem" id="1059729334">
<reference key="NSMenu" ref="720053764"/>
<string key="NSTitle">^IDS_CLOSE_TAB_MAC</string>
- <string key="NSKeyEquiv"/>
+ <string key="NSKeyEquiv">w</string>
+ <int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="353210768"/>
<reference key="NSMixedImage" ref="549394948"/>
@@ -1569,22 +1570,6 @@
<int key="connectionID">558</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">closeWindowMenuItem_</string>
- <reference key="source" ref="168151378"/>
- <reference key="destination" ref="776162233"/>
- </object>
- <int key="connectionID">622</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">closeTabMenuItem_</string>
- <reference key="source" ref="168151378"/>
- <reference key="destination" ref="1059729334"/>
- </object>
- <int key="connectionID">623</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">commandDispatch:</string>
<reference key="source" ref="1014"/>
@@ -2962,7 +2947,7 @@
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{592, 471}, {358, 263}}</string>
+ <string>{{619, 665}, {358, 263}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>{{197, 734}, {243, 243}}</string>
@@ -3006,7 +2991,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>{{525, 802}, {197, 73}}</string>
- <string>{{177, 734}, {1578, 20}}</string>
+ <string>{{177, 928}, {1566, 20}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>{74, 862}</string>
@@ -3113,7 +3098,7 @@
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{349, 54}, {350, 283}}</string>
+ <string>{{451, 645}, {350, 283}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>{{323, 672}, {199, 203}}</string>
@@ -3320,18 +3305,14 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>hoverCloseButton_</string>
- <string>image_</string>
<string>itemContainerView_</string>
<string>resizeDelegate_</string>
- <string>showAllDownloadsCell_</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>HoverButton</string>
- <string>NSImageView</string>
<string>NSView</string>
<string>id</string>
- <string>HyperlinkButtonCell</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -3339,10 +3320,8 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>hoverCloseButton_</string>
- <string>image_</string>
<string>itemContainerView_</string>
<string>resizeDelegate_</string>
- <string>showAllDownloadsCell_</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -3351,10 +3330,6 @@
<string key="candidateClassName">HoverButton</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">image_</string>
- <string key="candidateClassName">NSImageView</string>
- </object>
- <object class="IBToOneOutletInfo">
<string key="name">itemContainerView_</string>
<string key="candidateClassName">NSView</string>
</object>
@@ -3362,10 +3337,6 @@
<string key="name">resizeDelegate_</string>
<string key="candidateClassName">id</string>
</object>
- <object class="IBToOneOutletInfo">
- <string key="name">showAllDownloadsCell_</string>
- <string key="candidateClassName">HyperlinkButtonCell</string>
- </object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -3469,25 +3440,24 @@
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">HyperlinkButtonCell</string>
- <string key="superclassName">NSButtonCell</string>
+ <string key="className">NSMenuItem</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">browser/ui/cocoa/hyperlink_button_cell.h</string>
+ <string key="minorKey">browser/ui/cocoa/nsmenuitem_additions.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">NSMenuItem</string>
+ <string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">browser/ui/cocoa/nsmenuitem_additions.h</string>
+ <string key="minorKey">../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h</string>
+ <string key="minorKey">browser/renderer_host/accelerated_plugin_view_mac.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -3515,6 +3485,13 @@
<string key="className">NSView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">browser/ui/cocoa/nsview_additions.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
<string key="minorKey">browser/ui/cocoa/view_id_util.h</string>
</object>
</object>
@@ -3547,14 +3524,6 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">NSActionCell</string>
- <string key="superclassName">NSCell</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">AppKit.framework/Headers/NSActionCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">NSApplication</string>
<string key="superclassName">NSResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="340618385">
@@ -3607,22 +3576,6 @@
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">NSButtonCell</string>
- <string key="superclassName">NSActionCell</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">AppKit.framework/Headers/NSButtonCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSCell</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">AppKit.framework/Headers/NSCell.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">NSControl</string>
<string key="superclassName">NSView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="1030194510">
@@ -3647,14 +3600,6 @@
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">NSImageView</string>
- <string key="superclassName">NSControl</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">AppKit.framework/Headers/NSImageView.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">NSMatrix</string>
<string key="superclassName">NSControl</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">