| Index: content/browser/renderer_host/render_widget_host_view_mac.mm
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
|
| index 7b98f6c4f968dcc49385d306e3f153b734e43194..8d570b45dcf0599016250c9b131adcb74d35a192 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac.mm
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
|
| @@ -13,6 +13,7 @@
|
| #include "base/logging.h"
|
| #include "base/mac/mac_util.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| +#include "base/mac/sdk_forward_declarations.h"
|
| #import "base/memory/scoped_nsobject.h"
|
| #include "base/message_loop.h"
|
| #include "base/metrics/histogram.h"
|
| @@ -80,24 +81,6 @@ using WebKit::WebMouseWheelEvent;
|
| // Declare things that are part of the 10.7 SDK.
|
| #if !defined(MAC_OS_X_VERSION_10_7) || \
|
| MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
|
| -enum {
|
| - NSEventPhaseNone = 0, // event not associated with a phase.
|
| - NSEventPhaseBegan = 0x1 << 0,
|
| - NSEventPhaseStationary = 0x1 << 1,
|
| - NSEventPhaseChanged = 0x1 << 2,
|
| - NSEventPhaseEnded = 0x1 << 3,
|
| - NSEventPhaseCancelled = 0x1 << 4,
|
| -};
|
| -typedef NSUInteger NSEventPhase;
|
| -
|
| -@interface NSEvent (LionAPI)
|
| -- (NSEventPhase)phase;
|
| -@end
|
| -
|
| -@interface NSWindow (LionAPI)
|
| -- (CGFloat)backingScaleFactor;
|
| -@end
|
| -
|
| @interface NSView (NSOpenGLSurfaceResolutionLionAPI)
|
| - (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag;
|
| @end
|
|
|