diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 21:40:36 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-12 21:40:36 +0000 |
commit | f0447c026ca7aebd822af995430bbdc0fb4508bb (patch) | |
tree | 31b18a505b32212a9e366751e1d7c6b850534fc1 /chrome/browser/cocoa | |
parent | 55eaae5b4815f57b83b33cd2d7dd92c9fc0de033 (diff) | |
download | chromium_src-f0447c026ca7aebd822af995430bbdc0fb4508bb.zip chromium_src-f0447c026ca7aebd822af995430bbdc0fb4508bb.tar.gz chromium_src-f0447c026ca7aebd822af995430bbdc0fb4508bb.tar.bz2 |
10.6 SDK compatibility fix for SelectFileDialogBridge following r37693.
SelectFileDialogBridge should implement the NSOpenSavePanelDelegate protocol.
BUG=35569
TEST=10.6 SDK build (mac_sdk=10.6)
Review URL: http://codereview.chromium.org/601060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/shell_dialogs_mac.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/shell_dialogs_mac.mm b/chrome/browser/cocoa/shell_dialogs_mac.mm index 64acbd3..7c398e1 100644 --- a/chrome/browser/cocoa/shell_dialogs_mac.mm +++ b/chrome/browser/cocoa/shell_dialogs_mac.mm @@ -4,11 +4,13 @@ #include "chrome/browser/shell_dialogs.h" -#include <CoreServices/CoreServices.h> #import <Cocoa/Cocoa.h> +#include <CoreServices/CoreServices.h> + #include <map> #include <set> +#import "base/cocoa_protocols_mac.h" #include "base/logging.h" #include "base/mac_util.h" #include "base/scoped_cftyperef.h" @@ -21,7 +23,7 @@ class SelectFileDialogImpl; // A bridge class to act as the modal delegate to the save/open sheet and send // the results to the C++ class. -@interface SelectFileDialogBridge : NSObject { +@interface SelectFileDialogBridge : NSObject<NSOpenSavePanelDelegate> { @private SelectFileDialogImpl* selectFileDialogImpl_; // WEAK; owns us } |