summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedRoot.h
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-02-08 11:34:36 -0500
committerLeon Scroggins <scroggo@google.com>2010-02-09 10:31:15 -0500
commita2aaeda3cab40ff823fc40ebff51b828d1a9bc1c (patch)
tree0d206af9ea6c9a201c1ac1126265a944710e1a33 /WebKit/android/nav/CachedRoot.h
parent18a7eb20d5f2c5ff04fc2bc74824ff92de2cb0a2 (diff)
downloadexternal_webkit-a2aaeda3cab40ff823fc40ebff51b828d1a9bc1c.zip
external_webkit-a2aaeda3cab40ff823fc40ebff51b828d1a9bc1c.tar.gz
external_webkit-a2aaeda3cab40ff823fc40ebff51b828d1a9bc1c.tar.bz2
Remove code which retrieves the action associated with a textfield.
This code was written because we previously only had one action button on the IME for textfields. Now that textfields can always have a next button, we no longer need it.
Diffstat (limited to 'WebKit/android/nav/CachedRoot.h')
-rw-r--r--WebKit/android/nav/CachedRoot.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/WebKit/android/nav/CachedRoot.h b/WebKit/android/nav/CachedRoot.h
index 5fdf8df..dc0cea8 100644
--- a/WebKit/android/nav/CachedRoot.h
+++ b/WebKit/android/nav/CachedRoot.h
@@ -40,23 +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;
void checkForJiggle(int* ) const;
bool checkRings(const WTF::Vector<WebCore::IntRect>& rings,
const WebCore::IntRect& bounds) const;
- // This method returns the desired ImeAction for the textfield where the
- // mouse cursor currently is, or where the focus is if there is no mouse
- // cursor. If the mouse cursor is not on a textfield,
- // it will return FAILURE
- ImeAction currentTextFieldAction() const;
WebCore::IntPoint cursorLocation() const;
int documentHeight() { return mContents.height(); }
int documentWidth() { return mContents.width(); }