// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_X_WINDOW_EVENT_MANAGER_H_ #define UI_GFX_X_WINDOW_EVENT_MANAGER_H_ #include <map> #include "base/component_export.h" #include "ui/gfx/x/xproto.h" namespace x11 { class WindowEventManager; // Ensures events in |event_mask| are selected on |window| for the duration of // this object's lifetime. class COMPONENT_EXPORT(X11) ScopedEventSelector { … }; // Allows multiple clients within Chrome to select events on the same X window. class WindowEventManager { … }; } // namespace x11 #endif // UI_GFX_X_WINDOW_EVENT_MANAGER_H_