| 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 581e40f2bb0d1316e40c9e8586f07e51b9aafe9a..8e7f9f536abe3326f43d32071b2b2a9fbee50459 100644
|
| --- a/views/controls/textfield/native_textfield_win.cc
|
| +++ b/views/controls/textfield/native_textfield_win.cc
|
| @@ -274,10 +274,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() {
|
| @@ -302,6 +303,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:
|
|
|
|
|