Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains forward declarations for items in later SDKs than the | 5 // This file contains forward declarations for items in later SDKs than the |
| 6 // default one with which Chromium is built (currently 10.6). | 6 // default one with which Chromium is built (currently 10.6). |
| 7 // If you call any function from this header, be sure to check at runtime for | 7 // If you call any function from this header, be sure to check at runtime for |
| 8 // respondsToSelector: before calling these functions (else your code will crash | 8 // respondsToSelector: before calling these functions (else your code will crash |
| 9 // on older OS X versions that chrome still supports). | 9 // on older OS X versions that chrome still supports). |
| 10 | 10 |
| 11 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 11 #ifndef BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| 12 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 12 #define BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| 13 | 13 |
| 14 #import <AppKit/AppKit.h> | 14 #import <AppKit/AppKit.h> |
| 15 #import <CoreWLAN/CoreWLAN.h> | 15 #import <CoreWLAN/CoreWLAN.h> |
| 16 #import <ImageCaptureCore/ImageCaptureCore.h> | 16 #import <ImageCaptureCore/ImageCaptureCore.h> |
| 17 #import <IOBluetooth/IOBluetooth.h> | 17 #import <IOBluetooth/IOBluetooth.h> |
| 18 | 18 |
| 19 #include "base/base_export.h" | 19 #include "base/base_export.h" |
| 20 | 20 |
| 21 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 21 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
| 22 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 22 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
| 23 | 23 |
| 24 enum { | 24 enum { |
| 25 kBluetoothFeatureLESupportedController = (1 << 6L), | |
|
Mark Mentovai
2014/07/11 18:05:04
Can you put this down with the other new Bluetooth
erikchen
2014/07/11 18:56:56
Done.
| |
| 26 }; | |
| 27 | |
| 28 enum { | |
| 25 NSEventPhaseNone = 0, // event not associated with a phase. | 29 NSEventPhaseNone = 0, // event not associated with a phase. |
| 26 NSEventPhaseBegan = 0x1 << 0, | 30 NSEventPhaseBegan = 0x1 << 0, |
| 27 NSEventPhaseStationary = 0x1 << 1, | 31 NSEventPhaseStationary = 0x1 << 1, |
| 28 NSEventPhaseChanged = 0x1 << 2, | 32 NSEventPhaseChanged = 0x1 << 2, |
| 29 NSEventPhaseEnded = 0x1 << 3, | 33 NSEventPhaseEnded = 0x1 << 3, |
| 30 NSEventPhaseCancelled = 0x1 << 4 | 34 NSEventPhaseCancelled = 0x1 << 4 |
| 31 }; | 35 }; |
| 32 typedef NSUInteger NSEventPhase; | 36 typedef NSUInteger NSEventPhase; |
| 33 | 37 |
| 34 enum { | 38 enum { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 }; | 152 }; |
| 149 | 153 |
| 150 @interface CWChannel : NSObject | 154 @interface CWChannel : NSObject |
| 151 @property(readonly) CWChannelBand channelBand; | 155 @property(readonly) CWChannelBand channelBand; |
| 152 @end | 156 @end |
| 153 | 157 |
| 154 @interface CWNetwork (LionSDK) | 158 @interface CWNetwork (LionSDK) |
| 155 @property(readonly) CWChannel* wlanChannel; | 159 @property(readonly) CWChannel* wlanChannel; |
| 156 @end | 160 @end |
| 157 | 161 |
| 158 @interface IOBluetoothHostController (LionSDK) | 162 @interface IOBluetoothHostController (LionSDK) |
|
Mark Mentovai
2014/07/11 18:05:04
here.
erikchen
2014/07/11 18:56:56
Done.
| |
| 159 - (NSString*)nameAsString; | 163 - (NSString*)nameAsString; |
| 160 - (BluetoothHCIPowerState)powerState; | 164 - (BluetoothHCIPowerState)powerState; |
| 161 @end | 165 @end |
| 162 | 166 |
| 163 @protocol IOBluetoothDeviceInquiryDelegate | 167 @protocol IOBluetoothDeviceInquiryDelegate |
| 164 - (void)deviceInquiryStarted:(IOBluetoothDeviceInquiry*)sender; | 168 - (void)deviceInquiryStarted:(IOBluetoothDeviceInquiry*)sender; |
| 165 - (void)deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender | 169 - (void)deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender |
| 166 device:(IOBluetoothDevice*)device; | 170 device:(IOBluetoothDevice*)device; |
| 167 - (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender | 171 - (void)deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender |
| 168 error:(IOReturn)error | 172 error:(IOReturn)error |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 259 | 263 |
| 260 @interface NSWindow (YosemiteSDK) | 264 @interface NSWindow (YosemiteSDK) |
| 261 | 265 |
| 262 @property NSWindowTitleVisibility titleVisibility; | 266 @property NSWindowTitleVisibility titleVisibility; |
| 263 | 267 |
| 264 @end | 268 @end |
| 265 | 269 |
| 266 #endif // MAC_OS_X_VERSION_10_10 | 270 #endif // MAC_OS_X_VERSION_10_10 |
| 267 | 271 |
| 268 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ | 272 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ |
| OLD | NEW |