Index: views/controls/textfield/native_textfield_win.cc |
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc |
index 223a8b55661f8d4b02865bf994f4c8ba9850b043..d74ff2c006e2d1539df4d47793a24edd15eef308 100644 |
--- a/views/controls/textfield/native_textfield_win.cc |
+++ b/views/controls/textfield/native_textfield_win.cc |
@@ -275,10 +275,11 @@ void NativeTextfieldWin::UpdateVerticalMargins() { |
NOTIMPLEMENTED(); |
} |
-void NativeTextfieldWin::SetFocus() { |
+bool NativeTextfieldWin::SetFocus() { |
// Focus the associated HWND. |
//container_view_->Focus(); |
::SetFocus(m_hWnd); |
+ return true; |
} |
View* NativeTextfieldWin::GetView() { |
@@ -303,6 +304,23 @@ bool NativeTextfieldWin::IsIMEComposing() const { |
return composition_size > 0; |
} |
+bool NativeTextfieldWin::HandleKeyPressed(const views::KeyEvent& e) { |
+ return false; |
+} |
+ |
+bool NativeTextfieldWin::HandleKeyReleased(const views::KeyEvent& e) { |
+ return false; |
+} |
+ |
+void NativeTextfieldWin::HandleWillGainFocus() { |
+} |
+ |
+void NativeTextfieldWin::HandleDidGainFocus() { |
+} |
+ |
+void NativeTextfieldWin::HandleWillLoseFocus() { |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// NativeTextfieldWin, menus::SimpleMenuModel::Delegate implementation: |