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

Unified Diff: ash/shell.cc

Issue 2837893002: Wires up InputDeviceClient for mash/mushrome (Closed)
Patch Set: comment Created 3 years, 8 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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 9bc373d2203cccc5bd689a37ffd133162aae4285..d5a70a71b2c25b3d40be804a6b87954cd4b90746 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -958,9 +958,7 @@ void Shell::Init(const ShellInitParams& init_params) {
toplevel_window_event_handler_ =
base::MakeUnique<ToplevelWindowEventHandler>();
- // TODO: get working in Config::MUS. This uses InputDeviceManager, which is
- // not created in mus. http://crbug.com/712290.
- if (config == Config::CLASSIC) {
+ if (config != Config::MASH) {
system_gesture_filter_.reset(new SystemGestureEventFilter);
AddPreTargetHandler(system_gesture_filter_.get());
}
@@ -1052,9 +1050,7 @@ void Shell::Init(const ShellInitParams& init_params) {
// Needs to be created after InitDisplays() since it may cause the virtual
// keyboard to be deployed.
- // TODO: get working in Config::MUS. This uses InputDeviceManager, which is
- // not created in mus. http://crbug.com/712290.
- if (config == Config::CLASSIC)
+ if (config != Config::MASH)
virtual_keyboard_controller_.reset(new VirtualKeyboardController);
audio_a11y_controller_.reset(new chromeos::AudioA11yController);

Powered by Google App Engine
This is Rietveld 408576698