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

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

Issue 6675005: Integrate the new input method API for Views into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot failures. 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_controller.h
diff --git a/views/controls/textfield/textfield_controller.h b/views/controls/textfield/textfield_controller.h
index ee8df1b18b13939ef44164af5e5027357cf876dc..a50f2e90c2f1e8f7cfc80702d65df5b73bd1fee0 100644
--- a/views/controls/textfield/textfield_controller.h
+++ b/views/controls/textfield/textfield_controller.h
@@ -17,7 +17,9 @@ class Textfield;
// in the state of a text field.
class TextfieldController {
public:
- // This method is called whenever the text in the field changes.
+ // This method is called whenever the text in the field is changed by the
+ // user. It won't be called if the text is changed by calling
+ // Textfield::SetText() or Textfield::AppendText().
virtual void ContentsChanged(Textfield* sender,
const string16& new_contents) = 0;

Powered by Google App Engine
This is Rietveld 408576698