Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: ui/gfx/video_decode_acceleration_support_mac.mm

Issue 10785047: Remove all the OS X 10.6 SDK forward declarations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/video_decode_acceleration_support_mac.h ('k') | webkit/glue/webcursor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/video_decode_acceleration_support_mac.mm
diff --git a/ui/gfx/video_decode_acceleration_support_mac.mm b/ui/gfx/video_decode_acceleration_support_mac.mm
index 498e32da2cb89676497a799ace25c1d888fe5890..fa78f7409e7780d55a7248c09b20e4b389e50833 100644
--- a/ui/gfx/video_decode_acceleration_support_mac.mm
+++ b/ui/gfx/video_decode_acceleration_support_mac.mm
@@ -23,23 +23,6 @@ const CFStringRef kVDADecoderConfiguration_avcCData = CFSTR("avcC");
const CFStringRef kCVPixelBufferIOSurfacePropertiesKey =
CFSTR("IOSurfaceProperties");
-#if !defined(MAC_OS_X_VERSION_10_6) || \
- MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
-enum {
- kVDADecoderNoErr = 0,
- kVDADecoderHardwareNotSupportedErr = -12470,
- kVDADecoderFormatNotSupportedErr = -12471,
- kVDADecoderFlush_EmitFrames = 1 << 0,
-};
-
-typedef void (*VDADecoderOutputCallback)(
- void* decompressionOutputRefCon,
- CFDictionaryRef frameInfo,
- OSStatus status,
- uint32_t infoFlags,
- CVImageBufferRef imageBuffer);
-#endif // MAC_OS_X_VERSION_10_6
-
namespace {
// These are 10.6.3 APIs that we look up at run time.
« no previous file with comments | « ui/gfx/video_decode_acceleration_support_mac.h ('k') | webkit/glue/webcursor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698