first bit of implementation for the textinputcontroller.
[WebKit-https.git] / WebKitTools / DumpRenderTree / qt / jsobjects.h
index 746c08b609892b52886a6e2165cbb35a602a1a70..9f0f7b24cb5a4e624bd6f9969beec2331b691c5a 100644 (file)
@@ -111,5 +111,25 @@ private:
     QWebFrame *frameUnderMouse() const;
 };
 
+class TextInputController : public QObject
+{
+    Q_OBJECT
+public:
+    TextInputController(QWebPage *parent);
+
+public slots:
+    void doCommand(const QString &command);
+//     void setMarkedText(const QString &str, int from, int length);
+//     bool hasMarkedText();
+//     void unmarkText();
+//     QList<int> markedRange();
+//     QList<int> selectedRange();
+//     void validAttributesForMarkedText();
+//     void inserText(const QString &);
+//     void firstRectForCharacterRange();
+//     void characterIndexForPoint(int, int);
+//     void substringFromRange(int, int);
+//     void conversationIdentifier();
+};
 
 #endif