Set key and code on keyboard events
This commit is contained in:
parent
d69367aa9b
commit
6fac14ad3f
3 changed files with 48 additions and 4 deletions
|
@ -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_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue