| Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| index 4ef89bfbe226dd4223c688b76152f17efa8affbc..61ba74696e6a1d2b3e5567f1256a5c7f8dcba542 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| @@ -8,6 +8,7 @@
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| #include "base/mac/mac_util.h"
|
| +#import "base/mac/sdk_forward_declarations.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/prefs/pref_service.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| @@ -67,26 +68,6 @@ using content::NativeWebKeyboardEvent;
|
| using content::SSLStatus;
|
| using content::WebContents;
|
|
|
| -// Replicate specific 10.7 SDK declarations for building with prior SDKs.
|
| -#if !defined(MAC_OS_X_VERSION_10_7) || \
|
| - MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
|
| -
|
| -enum {
|
| - NSWindowAnimationBehaviorDefault = 0,
|
| - NSWindowAnimationBehaviorNone = 2,
|
| - NSWindowAnimationBehaviorDocumentWindow = 3,
|
| - NSWindowAnimationBehaviorUtilityWindow = 4,
|
| - NSWindowAnimationBehaviorAlertPanel = 5
|
| -};
|
| -typedef NSInteger NSWindowAnimationBehavior;
|
| -
|
| -@interface NSWindow (LionSDKDeclarations)
|
| -- (NSWindowAnimationBehavior)animationBehavior;
|
| -- (void)setAnimationBehavior:(NSWindowAnimationBehavior)newAnimationBehavior;
|
| -@end
|
| -
|
| -#endif // MAC_OS_X_VERSION_10_7
|
| -
|
| namespace {
|
|
|
| NSPoint GetPointForBubble(content::WebContents* web_contents,
|
|
|