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

Unified Diff: remoting/protocol/usb_key_codes.h

Issue 1403583003: Use standard DOM code definitions instead of custom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows compile. Created 5 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: remoting/protocol/usb_key_codes.h
diff --git a/remoting/protocol/usb_key_codes.h b/remoting/protocol/usb_key_codes.h
deleted file mode 100644
index 63e7190743de947cb40962c0e4b4ffea71a5f78e..0000000000000000000000000000000000000000
--- a/remoting/protocol/usb_key_codes.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_PROTOCOL_USB_KEY_CODES_H_
-#define REMOTING_PROTOCOL_USB_KEY_CODES_H_
-
-// Frequently used USB key-codes (not comprehensive--add more as needed).
-// TODO(liaoyuke): This could be cleaned up by reusing the data in
-// "ui/events/keycodes/dom/keycode_converter_data.inc".
-
-enum {
- kUsbA = 0x070004,
- kUsbN = 0x070011,
- kUsbW = 0x07001a,
- kUsbEnter = 0x070028,
- kUsbTab = 0x07002b,
- kUsbCapsLock = 0x070039,
- kUsbF4 = 0x07003d,
- kUsbInsert = 0x070049,
- kUsbDelete = 0x07004c,
- kUsbLeftControl = 0x0700e0,
- kUsbLeftShift = 0x0700e1,
- kUsbLeftAlt = 0x0700e2,
- kUsbLeftOs = 0x0700e3,
- kUsbRightArrow = 0x07004f,
- kUsbRightControl = 0x0700e4,
- kUsbRightShift = 0x0700e5,
- kUsbRightAlt = 0x0700e6,
- kUsbRightOs = 0x0700e7
-};
-
-#endif // REMOTING_PROTOCOL_USB_KEY_CODES_H_

Powered by Google App Engine
This is Rietveld 408576698