summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedInput.h
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-10-14 22:59:38 -0700
committerKenny Root <kroot@google.com>2010-10-14 22:59:38 -0700
commit2cc9eb95f73534e3c08c3991cd21bef5e302c88b (patch)
tree8ed674bfe3663570df8937be4bd855440d57650b /WebKit/android/nav/CachedInput.h
parent09fce604f7e67802272bf991cb667509521c36b3 (diff)
parent1457b739162fe6099cf38130b4065d4c25a5370c (diff)
downloadexternal_webkit-2cc9eb95f73534e3c08c3991cd21bef5e302c88b.zip
external_webkit-2cc9eb95f73534e3c08c3991cd21bef5e302c88b.tar.gz
external_webkit-2cc9eb95f73534e3c08c3991cd21bef5e302c88b.tar.bz2
resolved conflicts for merge of 1457b739 to master
Change-Id: I5e5460ec4afde9a229c3f73255f4d40322eb7166
Diffstat (limited to 'WebKit/android/nav/CachedInput.h')
-rw-r--r--WebKit/android/nav/CachedInput.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/WebKit/android/nav/CachedInput.h b/WebKit/android/nav/CachedInput.h
index f7e26b1..0809208 100644
--- a/WebKit/android/nav/CachedInput.h
+++ b/WebKit/android/nav/CachedInput.h
@@ -45,18 +45,30 @@ public:
bool isTextField() const { return mIsTextField; }
int maxLength() const { return mMaxLength; };
const WTF::String& name() const { return mName; }
+ int paddingBottom() const { return mPaddingBottom; }
+ int paddingLeft() const { return mPaddingLeft; }
+ int paddingRight() const { return mPaddingRight; }
+ int paddingTop() const { return mPaddingTop; }
void setFormPointer(void* form) { mForm = form; }
void setInputType(WebCore::HTMLInputElement::DeprecatedInputType type) { mInputType = type; }
void setIsRtlText(bool isRtlText) { mIsRtlText = isRtlText; }
void setIsTextField(bool isTextField) { mIsTextField = isTextField; }
void setMaxLength(int maxLength) { mMaxLength = maxLength; }
void setName(const WTF::String& name) { mName = name; }
+ void setPaddingBottom(int bottom) { mPaddingBottom = bottom; }
+ void setPaddingLeft(int left) { mPaddingLeft = left; }
+ void setPaddingRight(int right) { mPaddingRight = right; }
+ void setPaddingTop(int top) { mPaddingTop = top; }
void setTextSize(int textSize) { mTextSize = textSize; }
int textSize() const { return mTextSize; }
private:
void* mForm;
WTF::String mName;
int mMaxLength;
+ int mPaddingBottom;
+ int mPaddingLeft;
+ int mPaddingRight;
+ int mPaddingTop;
int mTextSize;
WebCore::HTMLInputElement::DeprecatedInputType mInputType;
bool mIsRtlText : 1;