Index: Source/core/html/HTMLTextFormControlElement.h |
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h |
index 6d1c5921f2faf1f00991e1d57d71b22755c95255..75d0afa018392d3ec2751afdfcc5c60f79b68c87 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.h |
+++ b/Source/core/html/HTMLTextFormControlElement.h |
@@ -87,6 +87,13 @@ public: |
void setTextAsOfLastFormControlChangeEvent(const String& text) { m_textAsOfLastFormControlChangeEvent = text; } |
+ // These functions doesn't cause synchronous layout and will be used from SpellChecher for perfermance improvement. |
tkent
2014/07/08 01:50:10
doesn't -> don't
I think |will| is unnecessary. -
yoichio
2014/07/08 02:31:23
Done.
|
+ // Passed |Position| must point inside of a text form control. |
+ static Position startOfWord(const Position&); |
+ static Position endOfWord(const Position&); |
+ static Position startOfSentence(const Position&); |
+ static Position endOfSentence(const Position&); |
+ |
protected: |
HTMLTextFormControlElement(const QualifiedName&, Document&, HTMLFormElement*); |
bool isPlaceholderEmpty() const; |