| Index: content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm b/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
| index 1d12f90bec27543b7a1477e3dc2f1633d9532197..975e625a103d6e8bd6b8f88f9ef93a11a7836681 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm
|
| @@ -73,22 +73,23 @@ typedef NSUInteger NSEventPhase;
|
|
|
| @property(nonatomic) BOOL unhandledWheelEventReceived;
|
|
|
| -- (void)gotUnhandledWheelEvent;
|
| @end
|
|
|
| @implementation MockRenderWidgetHostViewMacDelegate
|
|
|
| @synthesize unhandledWheelEventReceived = unhandledWheelEventReceived_;
|
|
|
| -- (void)gotUnhandledWheelEvent {
|
| - unhandledWheelEventReceived_ = true;
|
| +- (void)rendererHandledWheelEvent:(const blink::WebMouseWheelEvent&)event
|
| + consumed:(BOOL)consumed {
|
| + if (!consumed)
|
| + unhandledWheelEventReceived_ = true;
|
| }
|
| -- (void)touchesBeganWithEvent:(NSEvent*)event{}
|
| -- (void)touchesMovedWithEvent:(NSEvent*)event{}
|
| -- (void)touchesCancelledWithEvent:(NSEvent*)event{}
|
| -- (void)touchesEndedWithEvent:(NSEvent*)event{}
|
| -- (void)beginGestureWithEvent:(NSEvent*)event{}
|
| -- (void)endGestureWithEvent:(NSEvent*)event{}
|
| +- (void)touchesBeganWithEvent:(NSEvent*)event {}
|
| +- (void)touchesMovedWithEvent:(NSEvent*)event {}
|
| +- (void)touchesCancelledWithEvent:(NSEvent*)event {}
|
| +- (void)touchesEndedWithEvent:(NSEvent*)event {}
|
| +- (void)beginGestureWithEvent:(NSEvent*)event {}
|
| +- (void)endGestureWithEvent:(NSEvent*)event {}
|
| - (BOOL)canRubberbandLeft:(NSView*)view {
|
| return true;
|
| }
|
|
|