diff options
Diffstat (limited to 'WebKit/android/nav/CachedRoot.h')
-rw-r--r-- | WebKit/android/nav/CachedRoot.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebKit/android/nav/CachedRoot.h b/WebKit/android/nav/CachedRoot.h index a64fa22..23cc126 100644 --- a/WebKit/android/nav/CachedRoot.h +++ b/WebKit/android/nav/CachedRoot.h @@ -40,6 +40,12 @@ class CachedNode; class CachedRoot : public CachedFrame { public: + enum ImeAction { + FAILURE = -1, + NEXT = 0, + GO = 1, + DONE = 2 + }; bool adjustForScroll(BestData* , Direction , WebCore::IntPoint* scrollPtr, bool findClosest); int checkForCenter(int x, int y) const; @@ -47,6 +53,10 @@ public: bool checkRings(const WTF::Vector<WebCore::IntRect>& rings, const WebCore::IntRect& bounds) const; WebCore::IntPoint cursorLocation() const; + // This method returns the desired ImeAction for the textfield where the + // mouse cursor currently is. If the mouse cursor is not on a textfield, + // it will return FAILURE + ImeAction cursorTextFieldAction() const; int documentHeight() { return mContents.height(); } int documentWidth() { return mContents.width(); } const CachedNode* findAt(const WebCore::IntRect& , const CachedFrame** , |