diff options
author | Ben Murdoch <benm@google.com> | 2010-05-11 18:35:50 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-05-14 10:23:05 +0100 |
commit | 21939df44de1705786c545cd1bf519d47250322d (patch) | |
tree | ef56c310f5c0cdc379c2abb2e212308a3281ce20 /WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h | |
parent | 4ff1d8891d520763f17675827154340c7c740f90 (diff) | |
download | external_webkit-21939df44de1705786c545cd1bf519d47250322d.zip external_webkit-21939df44de1705786c545cd1bf519d47250322d.tar.gz external_webkit-21939df44de1705786c545cd1bf519d47250322d.tar.bz2 |
Merge Webkit at r58956: Initial merge by Git.
Change-Id: I1d9fb60ea2c3f2ddc04c17a871acdb39353be228
Diffstat (limited to 'WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h')
-rw-r--r-- | WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h b/WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h index 7c7433e..0210984 100644 --- a/WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h +++ b/WebKitTools/DumpRenderTree/qt/TextInputControllerQt.h @@ -31,6 +31,7 @@ #include <QList> #include <QObject> +#include <QVariant> #include <QString> #include "qwebpage.h" @@ -41,14 +42,14 @@ public: public slots: void doCommand(const QString& command); -// void setMarkedText(const QString& str, int from, int length); + void setMarkedText(const QString& string, int start, int end); // bool hasMarkedText(); // void unmarkText(); // QList<int> markedRange(); -// QList<int> selectedRange(); + QVariantList selectedRange(); // void validAttributesForMarkedText(); -// void inserText(const QString&); -// void firstRectForCharacterRange(); + void insertText(const QString& string); + QVariantList firstRectForCharacterRange(int location, int length); // void characterIndexForPoint(int, int); // void substringFromRange(int, int); // void conversationIdentifier(); |