}
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,
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));