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

Unified Diff: ui/platform_window/x11/x11_window_base.h

Issue 2319933002: X11: Remove calls to XSelectInput (Closed)
Patch Set: Change mask stuff in window_tree_host_x11, remove XSelectInput in ui/compositor, update dependent patch set Created 4 years, 3 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
Index: ui/platform_window/x11/x11_window_base.h
diff --git a/ui/platform_window/x11/x11_window_base.h b/ui/platform_window/x11/x11_window_base.h
index ce22bc8f61ca5cb248776203d06ed68dbcd5116a..aefbbcc1949b5f20b12b00c60c6461c5f81af7de 100644
--- a/ui/platform_window/x11/x11_window_base.h
+++ b/ui/platform_window/x11/x11_window_base.h
@@ -18,6 +18,8 @@
namespace ui {
+class XScopedEventSelector;
+
// Abstract base implementation for a X11 based PlatformWindow. Methods that
// are platform specific are left unimplemented.
class X11_WINDOW_EXPORT X11WindowBase : public PlatformWindow {
@@ -65,6 +67,7 @@ class X11_WINDOW_EXPORT X11WindowBase : public PlatformWindow {
XID xwindow_;
XID xroot_window_;
X11AtomCache atom_cache_;
+ std::unique_ptr<ui::XScopedEventSelector> xwindow_events_;
base::string16 window_title_;

Powered by Google App Engine
This is Rietveld 408576698