| Index: content/public/browser/render_widget_host_view_mac_delegate.h
|
| diff --git a/content/public/browser/render_widget_host_view_mac_delegate.h b/content/public/browser/render_widget_host_view_mac_delegate.h
|
| index 06af8254b4eba20625b1d5408297b30ece11acec..976940d2cc8ea16e12129a520b9b4fc1b24b2334 100644
|
| --- a/content/public/browser/render_widget_host_view_mac_delegate.h
|
| +++ b/content/public/browser/render_widget_host_view_mac_delegate.h
|
| @@ -7,6 +7,10 @@
|
|
|
| #import <Cocoa/Cocoa.h>
|
|
|
| +namespace blink {
|
| +class WebMouseWheelEvent;
|
| +}
|
| +
|
| // This protocol is used as a delegate for the NSView class used in the
|
| // hierarchy. There are two ways to extend the view:
|
| // - Implement the methods listed in the protocol below.
|
| @@ -27,9 +31,6 @@
|
| // normal processing should take place.
|
| - (BOOL)handleEvent:(NSEvent*)event;
|
|
|
| -// Notification that a wheel event was unhandled.
|
| -- (void)gotUnhandledWheelEvent;
|
| -
|
| // Notification of scroll offset pinning.
|
| - (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right;
|
|
|
| @@ -60,6 +61,11 @@
|
| // 2-finger history swipe in the given direction.
|
| - (BOOL)canRubberbandLeft:(NSView*)view;
|
| - (BOOL)canRubberbandRight:(NSView*)view;
|
| +
|
| +// The browser process received an ACK from the renderer after it processed
|
| +// |event|.
|
| +- (void)rendererHandledWheelEvent:(const blink::WebMouseWheelEvent&)event
|
| + consumed:(BOOL)consumed;
|
| @end
|
|
|
| #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_
|
|
|