Chromium Code Reviews| Index: ui/aura/window_tree_host_x11.h |
| diff --git a/ui/aura/window_tree_host_x11.h b/ui/aura/window_tree_host_x11.h |
| index f209e10bdba49a8d8800cd4f028d60a4871707ad..eb34c7e83bbc892509ccf6b15cce98b977dd0d04 100644 |
| --- a/ui/aura/window_tree_host_x11.h |
| +++ b/ui/aura/window_tree_host_x11.h |
| @@ -24,6 +24,7 @@ typedef XID Window; |
| namespace ui { |
| class MouseEvent; |
| +class XScopedEventSelector; |
| } |
| namespace aura { |
| @@ -52,6 +53,8 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost, |
| void MoveCursorToNative(const gfx::Point& location) override; |
| void OnCursorVisibilityChangedNative(bool show) override; |
| + void DisableInput(); |
|
Daniel Erat
2016/09/07 22:58:36
nit: please add a brief comment describing what th
Tom (Use chromium acct)
2016/09/07 23:31:16
Done.
|
| + |
| protected: |
| // Called when X Configure Notify event is recevied. |
| virtual void OnConfigureNotify(); |
| @@ -79,6 +82,9 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost, |
| XDisplay* xdisplay_; |
| ::Window xwindow_; |
| + // Events selected on |xwindow_|. |
| + std::unique_ptr<ui::XScopedEventSelector> xwindow_events_; |
| + |
| // The native root window. |
| ::Window x_root_window_; |