Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698