Index: views/controls/textfield/native_textfield_win.h |
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h |
index 5dc882f9ed020e218c8f390f03f630d4960876ab..35baa2cb8a20fc7441ee9e7c551f8d2e0cdada9f 100644 |
--- a/views/controls/textfield/native_textfield_win.h |
+++ b/views/controls/textfield/native_textfield_win.h |
@@ -22,9 +22,9 @@ |
namespace views { |
+class Menu2; |
class NativeViewHost; |
class Textfield; |
-class Menu2; |
static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | |
WS_CLIPSIBLINGS; |
@@ -62,10 +62,15 @@ class NativeTextfieldWin |
virtual gfx::Insets CalculateInsets(); |
virtual void UpdateHorizontalMargins(); |
virtual void UpdateVerticalMargins(); |
- virtual void SetFocus(); |
+ virtual bool SetFocus(); |
virtual View* GetView(); |
virtual gfx::NativeView GetTestingHandle() const; |
virtual bool IsIMEComposing() const; |
+ virtual bool HandleKeyPressed(const views::KeyEvent& e); |
+ virtual bool HandleKeyReleased(const views::KeyEvent& e); |
+ virtual void HandleWillGainFocus(); |
+ virtual void HandleDidGainFocus(); |
+ virtual void HandleWillLoseFocus(); |
// Overridden from menus::SimpleMenuModel::Delegate: |
virtual bool IsCommandIdChecked(int command_id) const; |