Index: chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm |
diff --git a/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm b/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm |
index b64550810c3cc00df7917ca812c244fb8ec72349..a6b260fbd4a75905f18e445f9faf1c151f3e5931 100644 |
--- a/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm |
+++ b/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm |
@@ -106,8 +106,19 @@ |
return [historySwiper_ handleEvent:event]; |
} |
-- (void)gotWheelEventConsumed:(BOOL)consumed { |
- [historySwiper_ gotWheelEventConsumed:consumed]; |
+// Notification that a wheel event was unhandled. |
+- (void)gotUnhandledWheelEvent { |
+ [historySwiper_ gotUnhandledWheelEvent]; |
+} |
+ |
+// Notification of scroll offset pinning. |
+- (void)scrollOffsetPinnedToLeft:(BOOL)left toRight:(BOOL)right { |
+ [historySwiper_ scrollOffsetPinnedToLeft:left toRight:right]; |
+} |
+ |
+// Notification of whether the view has a horizontal scrollbar. |
+- (void)setHasHorizontalScrollbar:(BOOL)has_horizontal_scrollbar { |
+ [historySwiper_ setHasHorizontalScrollbar:has_horizontal_scrollbar]; |
} |
// NSWindow events. |