Chromium Code Reviews| Index: ash/display/display_change_observer_chromeos.h |
| diff --git a/ash/display/display_change_observer_chromeos.h b/ash/display/display_change_observer_chromeos.h |
| index 1e6521ff7816bf34e089e81015c241af384c7924..a07ba365e4956208e2e353b35667e404fb51453e 100644 |
| --- a/ash/display/display_change_observer_chromeos.h |
| +++ b/ash/display/display_change_observer_chromeos.h |
| @@ -9,6 +9,7 @@ |
| #include "ash/shell_observer.h" |
| #include "base/basictypes.h" |
| #include "ui/display/chromeos/display_configurator.h" |
| +#include "ui/events/input_device_event_observer.h" |
| namespace ash { |
| @@ -18,6 +19,7 @@ struct DisplayMode; |
| // update DisplayManagers. |
| class DisplayChangeObserver : public ui::DisplayConfigurator::StateController, |
| public ui::DisplayConfigurator::Observer, |
| + public ui::InputDeviceEventObserver, |
|
dnicoara
2014/06/13 18:47:58
I originally wanted to put this in DisplayManager,
|
| public ShellObserver { |
| public: |
| // Returns the resolution list. |
| @@ -37,6 +39,9 @@ class DisplayChangeObserver : public ui::DisplayConfigurator::StateController, |
| virtual void OnDisplayModeChanged( |
| const ui::DisplayConfigurator::DisplayStateList& outputs) OVERRIDE; |
| + // ui::InputDeviceEventObserver override: |
| + virtual void OnInputDeviceConfigurationChanged() OVERRIDE; |
| + |
| // Overriden from ShellObserver: |
| virtual void OnAppTerminating() OVERRIDE; |