Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_edit_view_win.cc |
| =================================================================== |
| --- chrome/browser/autocomplete/autocomplete_edit_view_win.cc (revision 13257) |
| +++ chrome/browser/autocomplete/autocomplete_edit_view_win.cc (working copy) |
| @@ -38,6 +38,7 @@ |
| #include "chrome/common/notification_service.h" |
| #include "chrome/common/os_exchange_data.h" |
| #include "chrome/common/win_util.h" |
| +#include "chrome/views/focus/focus_util_win.h" |
| #include "googleurl/src/url_util.h" |
| #include "grit/generated_resources.h" |
| #include "skia/ext/skia_utils_win.h" |
| @@ -1611,6 +1612,17 @@ |
| SetMsgHandled(true); |
| } |
| + |
|
Peter Kasting
2009/04/08 16:54:20
Nit: extra newline
|
| +BOOL AutocompleteEditViewWin::OnMouseWheel(UINT flags, |
| + short delta, |
| + CPoint point) { |
| + // Forward the mouse-wheel message to the window under the mouse. |
| + if (!views::RerouteMouseWheel(m_hWnd, MAKEWPARAM(flags, delta), |
| + MAKELPARAM(point.x, point.y))) |
| + SetMsgHandled(FALSE); |
| + return 0; |
| +} |
| + |
| void AutocompleteEditViewWin::HandleKeystroke(UINT message, |
| TCHAR key, |
| UINT repeat_count, |