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

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

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Rebase and 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
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..904ed4d32179042e5905589b8121692e90151ffb 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;
@@ -97,6 +98,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_;

Powered by Google App Engine
This is Rietveld 408576698