diff options
author | jennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 18:12:13 +0000 |
---|---|---|
committer | jennb@chromium.org <jennb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-26 18:12:13 +0000 |
commit | 3a1381d637b14d103c581990451f92877107893e (patch) | |
tree | 092ce11cae86ef55fac8ba201e8b9a61ac95b26c /chrome/app/nibs | |
parent | 0c2830d9f76ddf6c5c206c8c39bb03f03c98fe1e (diff) | |
download | chromium_src-3a1381d637b14d103c581990451f92877107893e.zip chromium_src-3a1381d637b14d103c581990451f92877107893e.tar.gz chromium_src-3a1381d637b14d103c581990451f92877107893e.tar.bz2 |
Handle keyboard shortcuts in Mac Panels.
Common code from browser_window_cocoa separated into cocoa/browser_window_utils.
Panel.xib changed to make the NSWindow for the PanelWindowControllerCocoa a ChromeEventProcessingWindow.
BUG=None
TEST=Manual testing with Panels and keyboard shortcuts to find/next/previous/close window/quit chrome.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98112 (Reverted by http://codereview.chromium.org/7747011/)
Review URL: http://codereview.chromium.org/7719016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs')
-rw-r--r-- | chrome/app/nibs/Panel.xib | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/app/nibs/Panel.xib b/chrome/app/nibs/Panel.xib index b84b375..f2a2561 100644 --- a/chrome/app/nibs/Panel.xib +++ b/chrome/app/nibs/Panel.xib @@ -12,8 +12,8 @@ </object> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> <integer value="1"/> + <integer value="6"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -45,7 +45,7 @@ <string key="NSWindowRect">{{196, 240}, {480, 270}}</string> <int key="NSWTFlags">544736256</int> <string key="NSWindowTitle">Window</string> - <string key="NSWindowClass">NSWindow</string> + <string key="NSWindowClass">ChromeEventProcessingWindow</string> <nil key="NSViewClass"/> <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string> <object class="NSView" key="NSWindowView" id="1006"> @@ -205,6 +205,14 @@ <object class="NSMutableArray" key="referencedPartialClassDescriptions"> <bool key="EncodedWithXMLCoder">YES</bool> <object class="IBPartialClassDescription"> + <string key="className">ChromeEventProcessingWindow</string> + <string key="superclassName">NSWindow</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> <string key="className">FirstResponder</string> <string key="superclassName">NSObject</string> <object class="NSMutableDictionary" key="actions"> |