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

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

Issue 2319933002: X11: Remove calls to XSelectInput (Closed)
Patch Set: Comments 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
« no previous file with comments | « ui/events/platform/x11/x11_event_source.cc ('k') | ui/platform_window/x11/x11_window_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ui/events/platform/x11/x11_event_source.cc ('k') | ui/platform_window/x11/x11_window_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698