summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget_gtk.h')
-rw-r--r--views/widget/native_widget_gtk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/views/widget/native_widget_gtk.h b/views/widget/native_widget_gtk.h
index 00e0bed..425d42a 100644
--- a/views/widget/native_widget_gtk.h
+++ b/views/widget/native_widget_gtk.h
@@ -178,6 +178,9 @@ class NativeWidgetGtk : public internal::NativeWidgetPrivate,
virtual void SetMouseCapture() OVERRIDE;
virtual void ReleaseMouseCapture() OVERRIDE;
virtual bool HasMouseCapture() const OVERRIDE;
+ virtual void SetKeyboardCapture() OVERRIDE;
+ virtual void ReleaseKeyboardCapture() OVERRIDE;
+ virtual bool HasKeyboardCapture() OVERRIDE;
virtual InputMethod* GetInputMethodNative() OVERRIDE;
virtual void ReplaceInputMethod(InputMethod* input_method) OVERRIDE;
virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
@@ -451,6 +454,12 @@ class NativeWidgetGtk : public internal::NativeWidgetPrivate,
// The compositor for accelerated drawing.
scoped_refptr<ui::Compositor> compositor_;
+ // Have we done a mouse and pointer grab?
+ bool has_mouse_grab_;
+
+ // Have we done a keyboard grab?
+ bool has_keyboard_grab_;
+
DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
};