diff options
author | Leon Scroggins <scroggo@google.com> | 2009-12-07 13:42:46 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-12-07 16:36:40 -0500 |
commit | 74757b62fce144f27c25cc7744df82cd7411b2dc (patch) | |
tree | 1ab52350cf6e2952e680a464bef5723cf0078a77 /WebKit/android/nav/CachedRoot.h | |
parent | 2eddb240f196ef15ba9940c3e291bbb6318f1200 (diff) | |
download | external_webkit-74757b62fce144f27c25cc7744df82cd7411b2dc.zip external_webkit-74757b62fce144f27c25cc7744df82cd7411b2dc.tar.gz external_webkit-74757b62fce144f27c25cc7744df82cd7411b2dc.tar.bz2 |
Provide <input> type information to Java side.
Help to fix http://b/issue?id=1890360 and http://b/issue?id=2150538
CacheBuilder.cpp:
Explicitly set isTextField to false for textareas.
CachedRoot:
Remove the code which checks to see if the textfield is a search,
since if it is, we can avoid this path altogether.
WebView:
Return a single integer which tells what type the current text
input field is.
Requires a change to frameworks/base.
Diffstat (limited to 'WebKit/android/nav/CachedRoot.h')
-rw-r--r-- | WebKit/android/nav/CachedRoot.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/WebKit/android/nav/CachedRoot.h b/WebKit/android/nav/CachedRoot.h index f93927c..435937a 100644 --- a/WebKit/android/nav/CachedRoot.h +++ b/WebKit/android/nav/CachedRoot.h @@ -44,8 +44,7 @@ public: FAILURE = -1, NEXT = 0, GO = 1, - DONE = 2, - SEARCH = 3 + DONE = 2 }; bool adjustForScroll(BestData* , Direction , WebCore::IntPoint* scrollPtr, bool findClosest); |