| Index: ui/events/keycodes/dom/keycode_converter.h
|
| diff --git a/ui/events/keycodes/dom/keycode_converter.h b/ui/events/keycodes/dom/keycode_converter.h
|
| index 1f1fed0de350c462339cf3d1035c40e164d12866..fb1ac04112a5af313f6e3213db5458c78a153d39 100644
|
| --- a/ui/events/keycodes/dom/keycode_converter.h
|
| +++ b/ui/events/keycodes/dom/keycode_converter.h
|
| @@ -45,16 +45,9 @@ class KeycodeConverter {
|
| // Return the value that identifies an invalid native keycode.
|
| static int InvalidNativeKeycode();
|
|
|
| - // Convert a native (Mac/Win/Linux) keycode into the |code| string.
|
| - // The returned pointer references a static global string.
|
| - static const char* NativeKeycodeToCode(int native_keycode);
|
| -
|
| // Convert a native (Mac/Win/Linux) keycode into a DomCode.
|
| static DomCode NativeKeycodeToDomCode(int native_keycode);
|
|
|
| - // Convert a UI Events |code| string value into a native keycode.
|
| - static int CodeToNativeKeycode(const char* code);
|
| -
|
| // Convert a DomCode into a native keycode.
|
| static int DomCodeToNativeKeycode(DomCode code);
|
|
|
| @@ -88,13 +81,12 @@ class KeycodeConverter {
|
| // Convert a platform native keycode into an equivalent USB keycode.
|
| static uint32_t NativeKeycodeToUsbKeycode(int native_keycode);
|
|
|
| - // Convert a USB keycode into the string with the DOM3 |code| value.
|
| - // The returned pointer references a static global string.
|
| - static const char* UsbKeycodeToCode(uint32_t usb_keycode);
|
| -
|
| // Convert a USB keycode into a DomCode.
|
| static DomCode UsbKeycodeToDomCode(uint32_t usb_keycode);
|
|
|
| + // Convert a DomCode into a USB keycode.
|
| + static uint32_t DomCodeToUsbKeycode(DomCode dom_code);
|
| +
|
| // Convert a DOM3 Event |code| string into a USB keycode value.
|
| static uint32_t CodeToUsbKeycode(const char* code);
|
|
|
|
|