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

Unified Diff: ash/display/display_change_observer_chromeos.cc

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update device list on disable/enable. Created 6 years, 2 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.cc
diff --git a/ash/display/display_change_observer_chromeos.cc b/ash/display/display_change_observer_chromeos.cc
index 4065c915fe54d7c324cebad5ca05f106e1091bd4..db5147237525aa5d1c814b7a3dd6e8d31d942cb7 100644
--- a/ash/display/display_change_observer_chromeos.cc
+++ b/ash/display/display_change_observer_chromeos.cc
@@ -7,6 +7,8 @@
#include <algorithm>
#include <map>
#include <set>
+#include <string>
+#include <utility>
#include <vector>
#include "ash/ash_switches.h"
@@ -273,7 +275,7 @@ float DisplayChangeObserver::FindDeviceScaleFactor(float dpi) {
return 1.0f;
}
-void DisplayChangeObserver::OnInputDeviceConfigurationChanged() {
+void DisplayChangeObserver::OnTouchscreenDeviceConfigurationChanged() {
std::vector<DisplayInfo> display_infos;
DisplayManager* display_manager =
ash::Shell::GetInstance()->display_manager();
@@ -296,4 +298,6 @@ void DisplayChangeObserver::OnInputDeviceConfigurationChanged() {
display_manager->OnNativeDisplaysChanged(display_infos);
}
+void DisplayChangeObserver::OnKeyboardDeviceConfigurationChanged() {}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698