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

Unified Diff: views/controls/textfield/textfield.h

Issue 6685082: Refactor Textfield and AutocompleteEditViewViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Support AltGr. Created 9 years, 9 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: views/controls/textfield/textfield.h
diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h
index ca87bdfb5b2275126f9dbf8f2b6b717b19184900..ca0415eceb661f71753ce68d2300203185a33bd0 100644
--- a/views/controls/textfield/textfield.h
+++ b/views/controls/textfield/textfield.h
@@ -89,6 +89,8 @@ class Textfield : public View {
// Clears the selection within the edit field and sets the caret to the end.
void ClearSelection() const;
+ bool HasSelection() const;
oshima 2011/03/21 21:11:43 Comment
James Su 2011/03/21 22:05:23 Done.
+
// Accessor for |style_|.
StyleFlags style() const { return style_; }

Powered by Google App Engine
This is Rietveld 408576698