diff options
author | Kristian Monsen <kristianm@google.com> | 2010-05-21 16:53:46 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-05-25 10:24:15 +0100 |
commit | 6c2af9490927c3c5959b5cb07461b646f8b32f6c (patch) | |
tree | f7111b9b22befab472616c1d50ec94eb50f1ec8c /WebCore/html/HTMLFormControlElement.h | |
parent | a149172322a9067c14e8b474a53e63649aa17cad (diff) | |
download | external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.zip external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.gz external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.bz2 |
Merge WebKit at r59636: Initial merge by git
Change-Id: I59b289c4e6b18425f06ce41cc9d34c522515de91
Diffstat (limited to 'WebCore/html/HTMLFormControlElement.h')
-rw-r--r-- | WebCore/html/HTMLFormControlElement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/html/HTMLFormControlElement.h b/WebCore/html/HTMLFormControlElement.h index 5b3a490..5c13d24 100644 --- a/WebCore/html/HTMLFormControlElement.h +++ b/WebCore/html/HTMLFormControlElement.h @@ -94,6 +94,7 @@ public: virtual bool isFormControlElement() const { return true; } virtual bool isRadioButton() const { return false; } + virtual bool canTriggerImplicitSubmission() const { return false; } /* Override in derived classes to get the encoded name=value pair for submitting. * Return true for a successful control (see HTML4-17.13.2). @@ -121,6 +122,8 @@ public: virtual void dispatchFocusEvent(); virtual void dispatchBlurEvent(); + bool isLabelable() const; + protected: void removeFromForm(); // This must be called any time the result of willValidate() has changed. @@ -170,6 +173,8 @@ public: virtual void dispatchFocusEvent(); virtual void dispatchBlurEvent(); + String strippedPlaceholder() const; + int selectionStart(); int selectionEnd(); void setSelectionStart(int); @@ -179,6 +184,7 @@ public: VisibleSelection selection() const; protected: + bool isPlaceholderEmpty() const; bool placeholderShouldBeVisible() const; void updatePlaceholderVisibility(bool); virtual int cachedSelectionStart() const = 0; |