Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h |
=================================================================== |
--- chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h (revision 85284) |
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h (working copy) |
@@ -7,9 +7,14 @@ |
#pragma once |
class TabContents; |
-namespace gfx{ |
+namespace gfx { |
class Size; |
} |
+namespace views { |
+namespace internal { |
+class NativeWidgetDelegate; |
+} |
+} |
namespace internal { |
@@ -30,14 +35,16 @@ |
virtual void OnNativeTabContentsViewHidden() = 0; |
virtual void OnNativeTabContentsViewSized(const gfx::Size& size) = 0; |
- virtual void OnNativeTabContentsViewWheelZoom(int distance) = 0; |
+ virtual void OnNativeTabContentsViewWheelZoom(bool zoom_in) = 0; |
// TODO(beng): |
// These two can be replaced by an override of Widget::OnMouseEvent. |
virtual void OnNativeTabContentsViewMouseDown() = 0; |
- virtual void OnNativeTabContentsViewMouseMove() = 0; |
+ virtual void OnNativeTabContentsViewMouseMove(bool motion) = 0; |
virtual void OnNativeTabContentsViewDraggingEnded() = 0; |
+ |
+ virtual views::internal::NativeWidgetDelegate* AsNativeWidgetDelegate() = 0; |
}; |
} // namespace internal |