Set key and code on keyboard events

This commit is contained in:
Kevin Sawicki 2016-10-07 12:46:33 -07:00
parent d69367aa9b
commit 6fac14ad3f
3 changed files with 48 additions and 4 deletions

View file

@ -15,6 +15,8 @@ namespace atom {
// pressed.
ui::KeyboardCode KeyboardCodeFromStr(const std::string& str, bool* shifted);
int WebEventModifiersToEventFlags(int modifiers);
} // namespace atom
#endif // ATOM_COMMON_KEYBOARD_UTIL_H_