Chromium Code Reviews| 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; |