summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webwidget.h')
-rw-r--r--webkit/glue/webwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webwidget.h b/webkit/glue/webwidget.h
index 23046e8..b1b011d 100644
--- a/webkit/glue/webwidget.h
+++ b/webkit/glue/webwidget.h
@@ -6,6 +6,7 @@
#define WEBKIT_GLUE_WEBWIDGET_H__
#include "skia/ext/platform_canvas.h"
+#include "webkit/glue/webtextdirection.h"
namespace gfx {
class Rect;
@@ -64,6 +65,9 @@ class WebWidget {
// Retrieve the status of this widget required by IME APIs.
virtual bool ImeUpdateStatus(bool* enable_ime, gfx::Rect* caret_rect) = 0;
+ // Changes the text direction of the selected input node.
+ virtual void SetTextDirection(WebTextDirection direction) = 0;
+
protected:
virtual ~WebWidget() {}