[Title] Move key press commands clearing code to after key up event
[Issue#] P130822-07725
[Problem] Text was not entered when capital letter use
[Cause] Clear key press commands by continuous key down events
[Solution] Move key press commands clearing code to after key up event
Change-Id: I5040aa24adfb9179147519ed3dac975a89d5d2e9
if (!handled)
handled = performDefaultBehaviorForKeyEvent(keyboardEvent);
+#if ENABLE(TIZEN_ISF_PORT)
+ if (keyboardEvent.type() == WebEvent::KeyUp)
+ m_keyPressCommands.clear();
+#endif
+
send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(keyboardEvent.type()), handled));
}
void WebPage::prepareKeyDownEvent()
{
m_prepareKeyDownEvent = true;
- m_keyPressCommands.clear();
}
void WebPage::swapKeyPressCommands(Vector<OwnPtr<KeyPressCommand> >& commands)