summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h')
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
index 663f13a..553d7bb 100644
--- a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
+++ b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
@@ -19,7 +19,6 @@
#ifndef DumpRenderTreeSupportGtk_h
#define DumpRenderTreeSupportGtk_h
-
#include "JSStringRef.h"
#include <webkit/webkitdefines.h>
@@ -29,6 +28,20 @@
#include <webkit/webkitwebframe.h>
#include <wtf/text/CString.h>
+namespace WebKit {
+
+enum {
+ WebFindOptionsCaseInsensitive = 1 << 0,
+ WebFindOptionsAtWordStarts = 1 << 1,
+ WebFindOptionsTreatMedialCapitalAsWordStart = 1 << 2,
+ WebFindOptionsBackwards = 1 << 3,
+ WebFindOptionsWrapAround = 1 << 4,
+ WebFindOptionsStartInSelection = 1 << 5
+};
+
+}
+typedef unsigned WebKitFindOptions;
+
class DumpRenderTreeSupportGtk {
public:
@@ -40,6 +53,7 @@ public:
static void setLinksIncludedInFocusChain(bool);
static bool linksIncludedInFocusChain();
+ static void setIconDatabaseEnabled(bool);
static JSValueRef nodesFromRect(JSContextRef context, JSValueRef value, int x, int y, unsigned top, unsigned right, unsigned bottom, unsigned left, bool ignoreClipping);
static void dumpConfigurationForViewport(WebKitWebView* webView, gint availableWidth, gint availableHeight);
@@ -70,6 +84,11 @@ public:
// WebKitWebView
static void executeCoreCommandByName(WebKitWebView*, const gchar* name, const gchar* value);
static bool isCommandEnabled(WebKitWebView*, const gchar* name);
+ static bool findString(WebKitWebView*, const gchar*, WebKitFindOptions);
+ static void setComposition(WebKitWebView*, const char* text, int start, int end);
+ static void confirmComposition(WebKitWebView*, const char* text);
+ static bool firstRectForCharacterRange(WebKitWebView*, int location, int length, GdkRectangle*);
+ static bool selectedRange(WebKitWebView*, int* start, int* end);
// GC
static void gcCollectJavascriptObjects();