diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-26 20:16:53 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-26 20:16:53 +0000 |
commit | 91db7c2003926830af5980ccca0c1653235469e1 (patch) | |
tree | 006758c9325e8e72cd175d7c0c63e63538106203 /base/mac | |
parent | 7398013ddb2f1d15bc8511cb4d5d899c1caafbcd (diff) | |
download | chromium_src-91db7c2003926830af5980ccca0c1653235469e1.zip chromium_src-91db7c2003926830af5980ccca0c1653235469e1.tar.gz chromium_src-91db7c2003926830af5980ccca0c1653235469e1.tar.bz2 |
mac 10.7 SDK: Add missing protocols.
It's just one.
BUG=136844
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10833031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac')
-rw-r--r-- | base/mac/cocoa_protocols.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/base/mac/cocoa_protocols.h b/base/mac/cocoa_protocols.h index 3e1d1e7..314e7fa7 100644 --- a/base/mac/cocoa_protocols.h +++ b/base/mac/cocoa_protocols.h @@ -11,8 +11,8 @@ // requires. Augment that below. #import "third_party/GTM/GTMDefines.h" -// The Mac OS X 10.8 SDK introduced new protocols used for delegates. These -// protocol defintions were not present in earlier releases of the Mac OS X +// New Mac OS X SDKs introduce new protocols used for delegates. These +// protocol defintions aren't not present in earlier releases of the Mac OS X // SDK. In order to support building against the new SDK, which requires // delegates to conform to these protocols, and earlier SDKs, which do not // define these protocols at all, this file will provide empty protocol @@ -22,6 +22,13 @@ @protocol p \ @end +#if !defined(MAC_OS_X_VERSION_10_7) || \ + MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 + +DEFINE_EMPTY_PROTOCOL(NSDraggingDestination) + +#endif // MAC_OS_X_VERSION_10_7 + #if !defined(MAC_OS_X_VERSION_10_8) || \ MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8 |