diff options
author | erikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-18 23:25:26 +0000 |
---|---|---|
committer | erikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-18 23:26:59 +0000 |
commit | 92747fe49f949ef6b9b34cd654613220ba10c360 (patch) | |
tree | 3572d6f981e3fff86b9fa5f0b5253f1bc0c482c0 /base/mac/sdk_forward_declarations.mm | |
parent | 4abf2250f191f64cfc8b70053f313d38c79557cd (diff) | |
download | chromium_src-92747fe49f949ef6b9b34cd654613220ba10c360.zip chromium_src-92747fe49f949ef6b9b34cd654613220ba10c360.tar.gz chromium_src-92747fe49f949ef6b9b34cd654613220ba10c360.tar.bz2 |
Mac: Support default browser Handoff in Yosemite.
This allows Chrome to accept a Handoff from any app when Chrome is the default
browser. This has been manually tested.
Note that getting this to work in Yosemite DP5 requires manual modification of
the Info.plist prior to codesigning, as well as Chrome to be built as a 64-bit
binary. The former is an Apple bug, and the latter won't matter, since we're
phasing Chrome off of 32-bits. See bug for more details.
BUG=381516
Review URL: https://codereview.chromium.org/481563002
Cr-Commit-Position: refs/heads/master@{#290404}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290404 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac/sdk_forward_declarations.mm')
-rw-r--r-- | base/mac/sdk_forward_declarations.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/base/mac/sdk_forward_declarations.mm b/base/mac/sdk_forward_declarations.mm index a402a41..22986da5 100644 --- a/base/mac/sdk_forward_declarations.mm +++ b/base/mac/sdk_forward_declarations.mm @@ -12,3 +12,12 @@ NSString* const NSWindowWillEnterFullScreenNotification = @"NSWindowWillEnterFullScreenNotification"; #endif // MAC_OS_X_VERSION_10_7 + +// Replicate specific 10.10 SDK declarations for building with prior SDKs. +#if !defined(MAC_OS_X_VERSION_10_10) || \ + MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_10 + +NSString* const NSUserActivityTypeBrowsingWeb = + @"NSUserActivityTypeBrowsingWeb"; + +#endif // MAC_OS_X_VERSION_10_10 |