add another command.
authorlars <lars@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Oct 2007 12:33:02 +0000 (12:33 +0000)
committerlars <lars@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Oct 2007 12:33:02 +0000 (12:33 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/qt/jsobjects.cpp

index ac7baeb6007ac2611c79144881d642871dc1f7f2..a7edf697ffd698c5d45074a4c2406d46f77cf4f9 100644 (file)
@@ -1,3 +1,12 @@
+2007-10-24  Lars Knoll  <lars@trolltech.com>
+
+        Reviewed by Simon.
+
+        add another command.
+
+        * DumpRenderTree/qt/jsobjects.cpp:
+        (TextInputController::doCommand):
+
 2007-10-24  Lars Knoll  <lars@trolltech.com>
 
         Reviewed by Simon.
index 32c7bbc713df8f4dcc03bcd22929c8f557e6496f..fae1447afa2141a082182a785a3ecce7812bb987 100644 (file)
@@ -375,6 +375,8 @@ void TextInputController::doCommand(const QString &command)
         keycode = Qt::Key_Backspace;
     } else if(command == "deleteBackward:") {
         keycode = Qt::Key_Backspace;
+    } else if(command == "deleteForward:") {
+        keycode = Qt::Key_Delete;
     }
     QKeyEvent event(QEvent::KeyPress, keycode, modifiers);
     QApplication::sendEvent(parent(), &event);