| Index: services/ui/ws/display_manager.h
|
| diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h
|
| index 0f240258379227d88c12d43f3be6bebd318b60b8..ae07c595b14784d6417b270918ec8bfc6364ad2a 100644
|
| --- a/services/ui/ws/display_manager.h
|
| +++ b/services/ui/ws/display_manager.h
|
| @@ -17,6 +17,7 @@
|
| #include "ui/display/display.h"
|
|
|
| namespace ui {
|
| +class EventRewriter;
|
| namespace ws {
|
|
|
| class CursorLocationManager;
|
| @@ -74,6 +75,8 @@ class DisplayManager : public UserIdTrackerObserver,
|
| return !displays_.empty() || !pending_displays_.empty();
|
| }
|
|
|
| + ui::EventRewriter* event_rewriter() { return event_rewriter_.get(); }
|
| +
|
| // Returns the id for the next root window (both for the root of a Display
|
| // as well as the root of WindowManagers).
|
| WindowId GetAndAdvanceNextRootId();
|
| @@ -97,6 +100,9 @@ class DisplayManager : public UserIdTrackerObserver,
|
| WindowServer* window_server_;
|
| UserIdTracker* user_id_tracker_;
|
|
|
| + // For rewriting ChromeOS function keys.
|
| + std::unique_ptr<ui::EventRewriter> event_rewriter_;
|
| +
|
| // Displays are initially added to |pending_displays_|. When the display is
|
| // initialized it is moved to |displays_|. WindowServer owns the Displays.
|
| std::set<Display*> pending_displays_;
|
|
|