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

Unified Diff: ui/views/test/x11_property_change_waiter.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/platform_window/x11/x11_window_base.cc ('k') | ui/views/test/x11_property_change_waiter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/x11_property_change_waiter.h
diff --git a/ui/views/test/x11_property_change_waiter.h b/ui/views/test/x11_property_change_waiter.h
index cba356c9311b816e3596b4946c71e0b681a5e239..c70ab603166e6299c3cc551d119a9d45eb74c335 100644
--- a/ui/views/test/x11_property_change_waiter.h
+++ b/ui/views/test/x11_property_change_waiter.h
@@ -18,6 +18,7 @@
namespace ui {
class ScopedEventDispatcher;
class X11AtomCache;
+class XScopedEventSelector;
}
namespace views {
@@ -47,15 +48,14 @@ class X11PropertyChangeWaiter : public ui::PlatformEventDispatcher {
XID x_window_;
const char* property_;
+ std::unique_ptr<ui::XScopedEventSelector> x_window_events_;
+
// Whether Wait() should block.
bool wait_;
// Ends the run loop.
base::Closure quit_closure_;
- // The event mask to be restored upon X11PropertyChangeWaiter's destruction.
- long old_event_mask_;
-
std::unique_ptr<ui::ScopedEventDispatcher> dispatcher_;
std::unique_ptr<ui::X11AtomCache> atom_cache_;
« no previous file with comments | « ui/platform_window/x11/x11_window_base.cc ('k') | ui/views/test/x11_property_change_waiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698