| Index: ui/events/keycodes/dom4/keycode_converter.h
|
| diff --git a/ui/events/keycodes/dom4/keycode_converter.h b/ui/events/keycodes/dom4/keycode_converter.h
|
| index 1ed0d1231488ebf85e015d5075980b98c8d31d56..afebc03ae114d20a610873b6d360db4adf49c371 100644
|
| --- a/ui/events/keycodes/dom4/keycode_converter.h
|
| +++ b/ui/events/keycodes/dom4/keycode_converter.h
|
| @@ -16,6 +16,8 @@ namespace ui {
|
| enum class DomCode;
|
| enum class DomKey;
|
|
|
| +enum class DomCodeLocation { STANDARD, LEFT, RIGHT, NUMPAD };
|
| +
|
| // This structure is used to define the keycode mapping table.
|
| // It is defined here because the unittests need access to it.
|
| typedef struct {
|
| @@ -62,6 +64,9 @@ class KeycodeConverter {
|
| // Convert a DomCode into a UI Events |code| string value.
|
| static const char* DomCodeToCodeString(DomCode dom_code);
|
|
|
| + // Return the DomCodeLocation of a DomCode.
|
| + static DomCodeLocation DomCodeToLocation(DomCode dom_code);
|
| +
|
| // Convert a UI Events |key| string value into a DomKey.
|
| static DomKey KeyStringToDomKey(const char* key);
|
|
|
|
|