Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Unified Diff: Source/core/html/HTMLTextFormControlElement.h

Issue 357603003: Add functions searching a word boundary without VisualPosition to HTMLTextFormControlElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLTextFormControlElement.h
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h
index 6d1c5921f2faf1f00991e1d57d71b22755c95255..65ff3f060a05088eba5b22587d5d4ea90e2e3b9f 100644
--- a/Source/core/html/HTMLTextFormControlElement.h
+++ b/Source/core/html/HTMLTextFormControlElement.h
@@ -87,6 +87,10 @@ public:
void setTextAsOfLastFormControlChangeEvent(const String& text) { m_textAsOfLastFormControlChangeEvent = text; }
+ static Position startOfWord(const Position&);
+ static Position endOfWord(const Position&);
+ static Position startOfSentence(const Position&);
+ static Position endOfSentence(const Position&);
Yuta Kitamura 2014/07/03 08:39:27 nit: a blank line is needed before "protected".
yoichio 2014/07/04 01:29:44 Done.
protected:
HTMLTextFormControlElement(const QualifiedName&, Document&, HTMLFormElement*);
bool isPlaceholderEmpty() const;
« no previous file with comments | « no previous file | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | Source/core/html/HTMLTextFormControlElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698