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

Unified Diff: ash/display/display_change_observer_chromeos.h

Issue 336863002: Moving input device hotplug event processing outside of ui/display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/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;
« no previous file with comments | « no previous file | ash/display/display_change_observer_chromeos.cc » ('j') | ash/display/display_change_observer_chromeos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698