Index: ui/views/controls/textfield/textfield_controller.h |
diff --git a/ui/views/controls/textfield/textfield_controller.h b/ui/views/controls/textfield/textfield_controller.h |
index 9a6c3302dec09f173d6399a015783cb18654b4fd..c63ac56be98d3c0533f18e0e6af1343a468e9973 100644 |
--- a/ui/views/controls/textfield/textfield_controller.h |
+++ b/ui/views/controls/textfield/textfield_controller.h |
@@ -29,13 +29,13 @@ class VIEWS_EXPORT TextfieldController { |
// 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; |
+ const string16& new_contents) {} |
// This method is called to get notified about keystrokes in the edit. |
// Returns true if the message was handled and should not be processed |
// further. If it returns false the processing continues. |
virtual bool HandleKeyEvent(Textfield* sender, |
- const ui::KeyEvent& key_event) = 0; |
+ const ui::KeyEvent& key_event); |
// This method is called to get notified about mouse events in the edit. |
// Returns true if the message was handled and should not be processed |