Index: base/mac/sdk_forward_declarations.h |
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h |
index a2d4013723d2cbb5ee7a021329348984b7006560..2fadf104ce0aa0fb10b166c6ed16fe2cc5011465 100644 |
--- a/base/mac/sdk_forward_declarations.h |
+++ b/base/mac/sdk_forward_declarations.h |
@@ -31,6 +31,15 @@ enum { |
}; |
typedef NSUInteger NSEventSwipeTrackingOptions; |
+enum { |
+ NSWindowAnimationBehaviorDefault = 0, |
+ NSWindowAnimationBehaviorNone = 2, |
+ NSWindowAnimationBehaviorDocumentWindow = 3, |
+ NSWindowAnimationBehaviorUtilityWindow = 4, |
+ NSWindowAnimationBehaviorAlertPanel = 5 |
+}; |
+typedef NSInteger NSWindowAnimationBehavior; |
+ |
@interface NSEvent (LionSDK) |
+ (BOOL)isSwipeTrackingFromScrollEventsEnabled; |
@@ -61,6 +70,8 @@ typedef NSUInteger NSEventSwipeTrackingOptions; |
@interface NSWindow (LionSDK) |
- (CGFloat)backingScaleFactor; |
+- (NSWindowAnimationBehavior)animationBehavior; |
+- (void)setAnimationBehavior:(NSWindowAnimationBehavior)newAnimationBehavior; |
@end |
#endif // MAC_OS_X_VERSION_10_7 |