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

Unified Diff: services/ui/ws/display_manager.h

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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 | « services/ui/ws/display.cc ('k') | services/ui/ws/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_manager.h
diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h
index 7f464b0ebcaad99419e67bd1de54f2eed03d43fe..e96f78b1b8d061fc2ed23b579edde94d7589912e 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;
@@ -100,6 +101,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_;
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698