X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fozone%2Fui%2Fevents%2Fremote_event_dispatcher.cc;h=8c367a1163abfc16adeff6a70434f848d7d8aba3;hb=a5108fcda22462462a0c9692e802750284d31512;hp=1850705cbfb0472371bd7ab705789042540ada06;hpb=f5180d0a4dfe13ef74567dc9aa75047c1a9cd6de;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ozone/ui/events/remote_event_dispatcher.cc b/src/ozone/ui/events/remote_event_dispatcher.cc index 1850705..8c367a1 100644 --- a/src/ozone/ui/events/remote_event_dispatcher.cc +++ b/src/ozone/ui/events/remote_event_dispatcher.cc @@ -54,9 +54,24 @@ void RemoteEventDispatcher::PointerLeave(unsigned handle, } void RemoteEventDispatcher::KeyNotify(ui::EventType type, - unsigned code, - unsigned modifiers) { - Dispatch(new WaylandInput_KeyNotify(type, code, modifiers)); + unsigned code) { + Dispatch(new WaylandInput_KeyNotify(type, code)); +} + +void RemoteEventDispatcher::VirtualKeyNotify(ui::EventType type, + uint32_t key, + uint32_t modifiers) { + Dispatch(new WaylandInput_VirtualKeyNotify(type, key, modifiers)); +} + +void RemoteEventDispatcher::KeyModifiers(uint32_t mods_depressed, + uint32_t mods_latched, + uint32_t mods_locked, + uint32_t group) { + Dispatch(new WaylandInput_KeyModifiers(mods_depressed, + mods_latched, + mods_locked, + group)); } void RemoteEventDispatcher::TouchNotify(ui::EventType type, @@ -105,6 +120,11 @@ void RemoteEventDispatcher::PreeditStart() { Dispatch(new WaylandInput_PreeditStart()); } +void RemoteEventDispatcher::InitializeXKB(base::SharedMemoryHandle fd, + uint32_t size) { + Dispatch(new WaylandInput_InitializeXKB(fd, size)); +} + void RemoteEventDispatcher::Dispatch(IPC::Message* message) { ui::EventConverterOzoneWayland::PostTaskOnMainLoop( base::Bind(&RemoteEventDispatcher::Send, this, message));