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

Unified Diff: views/widget/native_widget_delegate.h

Issue 6756043: Consolidate Widget Event code, other cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional code consolidation, move base defs, nix MakeMSG, TooltipManager cleanup, etc. Created 9 years, 9 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: views/widget/native_widget_delegate.h
diff --git a/views/widget/native_widget_delegate.h b/views/widget/native_widget_delegate.h
index 26e4828d4f9a648e126a0e70c3c504d8343c5ea6..e5e3752a696372902af269b88cadce9d40614629 100644
--- a/views/widget/native_widget_delegate.h
+++ b/views/widget/native_widget_delegate.h
@@ -40,6 +40,10 @@ class NativeWidgetDelegate {
// Paints the rootview in the canvas. This will also refresh the compositor
// tree if necessary when accelerated painting is enabled.
virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) = 0;
+
+ // MouseEvent handlers.
+ virtual bool OnMouseEvent(const MouseEvent& event) = 0;
+ virtual void OnMouseCaptureLost() = 0;
};
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698