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

Unified Diff: chrome/browser/ui/ash/event_rewriter.cc

Issue 11421213: Add the internal keyboard name for the daisy chromebook. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/event_rewriter.cc
diff --git a/chrome/browser/ui/ash/event_rewriter.cc b/chrome/browser/ui/ash/event_rewriter.cc
index 7ac9fe8ea3fb35df7acdcf712dad59196af015e6..81b398411f5c0382dbe2b6d1c22af60ab9e697ba 100644
--- a/chrome/browser/ui/ash/event_rewriter.cc
+++ b/chrome/browser/ui/ash/event_rewriter.cc
@@ -200,6 +200,9 @@ EventRewriter::DeviceType EventRewriter::GetDeviceType(
// The chromebook internal keyboard's name.
if (LowerCaseEqualsASCII(device_name, "at translated set 2 keyboard"))
return kDeviceChromeOSKeyboard;
+ // The daisy chromebook internal keyboard's name.
+ if (LowerCaseEqualsASCII(device_name, "chromeos-ec-i2c"))
+ return kDeviceChromeOSKeyboard;
// The chromebox chrome-specific keyboard's name.
if (LowerCaseEqualsASCII(device_name, "samsung usb keyboard"))
return kDeviceChromeOSKeyboard;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698