Chromium Code Reviews| 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..c2dc5d785bfec0ff2774208c9472dd33d39ff72f 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,10 @@ |
| // 2-finger history swipe in the given direction. |
| - (BOOL)canRubberbandLeft:(NSView*)view; |
| - (BOOL)canRubberbandRight:(NSView*)view; |
| + |
| +// Chrome received an ACK from the renderer after it processed |event|. |
|
Avi (use Gerrit)
2014/05/29 15:02:01
s/Chrome/The browser process/
This is the content
erikchen
2014/05/29 20:42:38
Done.
|
| +- (void)rendererHandledWheelEvent:(const blink::WebMouseWheelEvent&)event |
| + consumed:(BOOL)consumed; |
| @end |
| #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_DELEGATE_H_ |