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

Unified Diff: views/widget/native_widget.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
« no previous file with comments | « views/widget/aero_tooltip_manager.cc ('k') | views/widget/native_widget_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget.h
diff --git a/views/widget/native_widget.h b/views/widget/native_widget.h
index b3624536512cb9476d29d3d68bfde1fc02105260..77c2fe8d9dba2fa3dd4faa65f5dd5a78798edd26 100644
--- a/views/widget/native_widget.h
+++ b/views/widget/native_widget.h
@@ -70,11 +70,14 @@ class NativeWidget {
virtual bool IsScreenReaderActive() const = 0;
// Sets or releases event capturing for this native widget.
- virtual void SetNativeCapture() = 0;
- virtual void ReleaseNativeCapture() = 0;
+ virtual void SetMouseCapture() = 0;
+ virtual void ReleaseMouseCapture() = 0;
// Returns true if this native widget is capturing all events.
- virtual bool HasNativeCapture() const = 0;
+ virtual bool HasMouseCapture() const = 0;
+
+ // Returns whether capture should be released on mouse release.
+ virtual bool ShouldReleaseCaptureOnMouseReleased() const = 0;
Ben Goodger (Google) 2011/03/31 14:13:03 I think this method should be declared/defined on
msw 2011/03/31 14:47:25 Done.
protected:
friend class Widget;
« no previous file with comments | « views/widget/aero_tooltip_manager.cc ('k') | views/widget/native_widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698