diff options
| author | Leon Scroggins <scroggo@google.com> | 2009-12-10 13:33:40 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-10 13:33:40 -0800 |
| commit | 1f39d2d9fa8ad17be2edeb570a625ed331f5a8f1 (patch) | |
| tree | 8ad5b9878ce70cd2cd644cf49b21f9b930a6c1ed /WebKit/android/nav/CachedInput.h | |
| parent | cfd8cdfd5146057393cae8ffe65d27b903d9f62d (diff) | |
| parent | 3b242d089e9d96995ad22fb2ed76fa1a9533eb64 (diff) | |
| download | external_webkit-1f39d2d9fa8ad17be2edeb570a625ed331f5a8f1.zip external_webkit-1f39d2d9fa8ad17be2edeb570a625ed331f5a8f1.tar.gz external_webkit-1f39d2d9fa8ad17be2edeb570a625ed331f5a8f1.tar.bz2 | |
am 3b242d08: am 91a3bec8: Show "Go" for the last textfield in a form.
Merge commit '3b242d089e9d96995ad22fb2ed76fa1a9533eb64'
* commit '3b242d089e9d96995ad22fb2ed76fa1a9533eb64':
Show "Go" for the last textfield in a form.
Diffstat (limited to 'WebKit/android/nav/CachedInput.h')
| -rw-r--r-- | WebKit/android/nav/CachedInput.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/android/nav/CachedInput.h b/WebKit/android/nav/CachedInput.h index f4f0e95..f3cf1fe 100644 --- a/WebKit/android/nav/CachedInput.h +++ b/WebKit/android/nav/CachedInput.h @@ -38,6 +38,7 @@ public: // Initiaized to 0 in its array, so nothing to do in the // constructor } + void* formPointer() const { return mForm; } void init() { bzero(this, sizeof(CachedInput)); mName = WebCore::String(); @@ -48,6 +49,7 @@ public: bool isTextField() const { return mIsTextField; } int maxLength() const { return mMaxLength; }; const WebCore::String& name() const { return mName; } + void setFormPointer(void* form) { mForm = form; } void setInputType(WebCore::HTMLInputElement::InputType type) { mInputType = type; } void setIsReadOnly(bool isReadOnly) { mIsReadOnly = isReadOnly; } void setIsRtlText(bool isRtlText) { mIsRtlText = isRtlText; } @@ -57,6 +59,7 @@ public: void setTextSize(int textSize) { mTextSize = textSize; } int textSize() const { return mTextSize; } private: + void* mForm; WebCore::String mName; int mMaxLength; int mTextSize; |
