height));
}
+void EventConverterInProcess::WindowUnminimized(unsigned handle) {
+ ui::EventConverterOzoneWayland::PostTaskOnMainLoop(base::Bind(
+ &EventConverterInProcess::NotifyWindowUnminimized, this, handle));
+}
+
void EventConverterInProcess::Commit(unsigned handle, const std::string& text) {
ui::EventConverterOzoneWayland::PostTaskOnMainLoop(base::Bind(
&EventConverterInProcess::NotifyCommit, this, handle, text));
ui::KeyboardCode code,
uint16 CharacterCodeFromNativeKey,
unsigned modifiers) {
- ui::KeyEvent keyev(type, code, modifiers, false);
+ ui::KeyEvent keyev(type, code, modifiers);
keyev.set_character(CharacterCodeFromNativeKey);
data->DispatchEvent(&keyev);
}
}
void
+EventConverterInProcess::NotifyWindowUnminimized(EventConverterInProcess* data,
+ unsigned handle) {
+ if (data->observer_)
+ data->observer_->OnWindowUnminimized(handle);
+}
+
+void
EventConverterInProcess::NotifyCommit(EventConverterInProcess* data,
unsigned handle,
const std::string& text) {