| Index: ui/base/cocoa/base_view.h
|
| diff --git a/ui/base/cocoa/base_view.h b/ui/base/cocoa/base_view.h
|
| index 642ada2011d0812a58ed8c8ace2895b803b850cf..0675caeae632e96c577ef8b17c98af441be57355 100644
|
| --- a/ui/base/cocoa/base_view.h
|
| +++ b/ui/base/cocoa/base_view.h
|
| @@ -8,6 +8,7 @@
|
| #import <Cocoa/Cocoa.h>
|
|
|
| #include "base/mac/scoped_nsobject.h"
|
| +#include "base/mac/sdk_forward_declarations.h"
|
| #import "ui/base/cocoa/tracking_area.h"
|
| #include "ui/base/ui_base_export.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| @@ -28,15 +29,19 @@ UI_BASE_EXPORT
|
| ui::ScopedCrTrackingArea trackingArea_;
|
| BOOL dragging_;
|
| base::scoped_nsobject<NSEvent> pendingExitEvent_;
|
| + NSInteger pressureEventStage_;
|
| }
|
|
|
| -// Override these methods (mouseEvent, keyEvent) in a subclass.
|
| +// Override these methods (mouseEvent, keyEvent, forceTouchEvent) in a
|
| +// subclass.
|
| - (void)mouseEvent:(NSEvent *)theEvent;
|
|
|
| // keyEvent should return kEventHandled if it handled the event, or
|
| // kEventNotHandled if it should be forwarded to BaseView's super class.
|
| - (EventHandled)keyEvent:(NSEvent *)theEvent;
|
|
|
| +- (void)forceTouchEvent:(NSEvent*)theEvent;
|
| +
|
| // Useful rect conversions (doing coordinate flipping)
|
| - (gfx::Rect)flipNSRectToRect:(NSRect)rect;
|
| - (NSRect)flipRectToNSRect:(gfx::Rect)rect;
|
|
|