summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget.h')
-rw-r--r--views/widget/native_widget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/widget/native_widget.h b/views/widget/native_widget.h
index a833664..9d6051f 100644
--- a/views/widget/native_widget.h
+++ b/views/widget/native_widget.h
@@ -69,6 +69,13 @@ class NativeWidget {
// Returns true if a system screen reader is active for the NativeWidget.
virtual bool IsScreenReaderActive() const = 0;
+ // Sets or releases event capturing for this native widget.
+ virtual void SetNativeCapture() = 0;
+ virtual void ReleaseNativeCapture() = 0;
+
+ // Returns true if this native widget is capturing all events.
+ virtual bool HasNativeCapture() const = 0;
+
protected:
friend class Widget;