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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc

Issue 2019413002: Remove KeyboardDevice class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
index ba65d6e641a76aae36fe10e220cc98507a004502..8d7c3d69324d47f383c720d85fcc5fd6dff2054d 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
@@ -13,12 +13,11 @@
#include "chromeos/chromeos_switches.h"
#include "content/public/browser/web_ui.h"
#include "ui/events/devices/device_data_manager.h"
-#include "ui/events/devices/keyboard_device.h"
namespace {
bool HasExternalKeyboard() {
- for (const ui::KeyboardDevice& keyboard :
+ for (const ui::InputDevice& keyboard :
ui::DeviceDataManager::GetInstance()->keyboard_devices()) {
if (keyboard.type == ui::InputDeviceType::INPUT_DEVICE_EXTERNAL)
return true;

Powered by Google App Engine
This is Rietveld 408576698