diff options
Diffstat (limited to 'ui/events/win/events_win.cc')
-rw-r--r-- | ui/events/win/events_win.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc index 7f98412..5a2c7d7 100644 --- a/ui/events/win/events_win.cc +++ b/ui/events/win/events_win.cc @@ -259,6 +259,10 @@ uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) { return static_cast<uint32>(native_event.wParam); } +bool IsCharFromNative(const base::NativeEvent& native_event) { + return native_event.message == WM_CHAR; +} + int GetChangedMouseButtonFlagsFromNative( const base::NativeEvent& native_event) { switch (GetNativeMouseKey(native_event)) { |