diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 05:22:54 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 05:22:54 +0000 |
commit | d737033fa62ac19f27995ad0deb84e657e2c0755 (patch) | |
tree | 5b62a38ee29b3bfa2353a8b5a0d27092350751be /base | |
parent | 8a8ce8c0491c75486edd2865dd5801a91b3fcd86 (diff) | |
download | chromium_src-d737033fa62ac19f27995ad0deb84e657e2c0755.zip chromium_src-d737033fa62ac19f27995ad0deb84e657e2c0755.tar.gz chromium_src-d737033fa62ac19f27995ad0deb84e657e2c0755.tar.bz2 |
Mac: Select right tab in content settings dialog.
Also fix an unrelated TODO in this area.
xib change: Make ContentSettingsWindowController the NSTabView's delegate and hook the controller's IBOutlet up to the NSTabView.
BUG=36949
TEST=Open content settings via a blocked popups bubble. Popup tab should be selected. Select javascript tab, close window. Reopen window, javascript tab should still be selected.
Review URL: http://codereview.chromium.org/661354
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/cocoa_protocols_mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/cocoa_protocols_mac.h b/base/cocoa_protocols_mac.h index d3d06f4..a98d472 100644 --- a/base/cocoa_protocols_mac.h +++ b/base/cocoa_protocols_mac.h @@ -30,6 +30,7 @@ DEFINE_EMPTY_PROTOCOL(NSOpenSavePanelDelegate) DEFINE_EMPTY_PROTOCOL(NSOutlineViewDelegate) DEFINE_EMPTY_PROTOCOL(NSTableViewDataSource) DEFINE_EMPTY_PROTOCOL(NSTableViewDelegate) +DEFINE_EMPTY_PROTOCOL(NSTabViewDelegate) DEFINE_EMPTY_PROTOCOL(NSTextFieldDelegate) DEFINE_EMPTY_PROTOCOL(NSTextViewDelegate) DEFINE_EMPTY_PROTOCOL(NSWindowDelegate) |