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

Side by Side Diff: base/mac/sdk_forward_declarations.h

Issue 1964283002: MacViews: Implemented Drag & Drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing file Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | ui/base/dragdrop/os_exchange_data_provider_mac.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 NSPressureBehaviorPrimaryAccelerator = 3, 236 NSPressureBehaviorPrimaryAccelerator = 3,
237 NSPressureBehaviorPrimaryDeepClick = 5, 237 NSPressureBehaviorPrimaryDeepClick = 5,
238 NSPressureBehaviorPrimaryDeepDrag = 6 238 NSPressureBehaviorPrimaryDeepDrag = 6
239 }; 239 };
240 typedef NSInteger NSPressureBehavior; 240 typedef NSInteger NSPressureBehavior;
241 241
242 @interface NSPressureConfiguration : NSObject 242 @interface NSPressureConfiguration : NSObject
243 - (instancetype)initWithPressureBehavior:(NSPressureBehavior)pressureBehavior; 243 - (instancetype)initWithPressureBehavior:(NSPressureBehavior)pressureBehavior;
244 @end 244 @end
245 245
246 enum {
247 NSSpringLoadingHighlightNone = 0,
248 NSSpringLoadingHighlightStandard,
249 NSSpringLoadingHighlightEmphasized
250 };
251 typedef NSUInteger NSSpringLoadingHighlight;
sky 2016/06/03 15:18:37 using?
spqchan 2016/06/03 16:55:45 I don't think so, everything else here is using ty
252
246 #endif // MAC_OS_X_VERSION_10_11 253 #endif // MAC_OS_X_VERSION_10_11
247 254
248 // ---------------------------------------------------------------------------- 255 // ----------------------------------------------------------------------------
249 // Define NSStrings only available in newer versions of the OSX SDK to force 256 // Define NSStrings only available in newer versions of the OSX SDK to force
250 // them to be statically linked. 257 // them to be statically linked.
251 // ---------------------------------------------------------------------------- 258 // ----------------------------------------------------------------------------
252 259
253 extern "C" { 260 extern "C" {
254 #if !defined(MAC_OS_X_VERSION_10_7) || \ 261 #if !defined(MAC_OS_X_VERSION_10_7) || \
255 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 262 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 // The symbol for kCWSSIDDidChangeNotification is available in the 564 // The symbol for kCWSSIDDidChangeNotification is available in the
558 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not 565 // CoreWLAN.framework for OSX versions 10.6 through 10.10. The symbol is not
559 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK, 566 // declared in the OSX 10.9+ SDK, so when compiling against an OSX 10.9+ SDK,
560 // declare the symbol. 567 // declare the symbol.
561 // ---------------------------------------------------------------------------- 568 // ----------------------------------------------------------------------------
562 #if defined(MAC_OS_X_VERSION_10_9) && \ 569 #if defined(MAC_OS_X_VERSION_10_9) && \
563 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 570 MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9
564 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification; 571 BASE_EXPORT extern "C" NSString* const kCWSSIDDidChangeNotification;
565 #endif 572 #endif
566 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_ 573 #endif // BASE_MAC_SDK_FORWARD_DECLARATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | ui/base/dragdrop/os_exchange_data_provider_mac.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698