| Index: views/controls/textfield/textfield.h
|
| diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h
|
| index 9dd1ee9febfdaf3aadd6f65e16d496157f1bfc1a..2fdfe733ef773396d51f6edfa0721851f6ec88c0 100644
|
| --- a/views/controls/textfield/textfield.h
|
| +++ b/views/controls/textfield/textfield.h
|
| @@ -31,6 +31,8 @@
|
|
|
| namespace views {
|
|
|
| +class KeyEvent;
|
| +
|
| class NativeTextfieldWrapper;
|
|
|
| // This class implements a ChromeView that wraps a native text (edit) field.
|
| @@ -94,8 +96,8 @@ class Textfield : public View {
|
| // This method is called to get notified about keystrokes in the edit.
|
| // This method returns true if the message was handled and should not be
|
| // processed further. If it returns false the processing continues.
|
| - virtual bool HandleKeystroke(Textfield* sender,
|
| - const Textfield::Keystroke& keystroke) = 0;
|
| + virtual bool HandleKeyEvent(Textfield* sender,
|
| + const KeyEvent& key_event) = 0;
|
| };
|
|
|
| enum StyleFlags {
|
|
|