Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.h

Issue 63061: Fix mouse wheel redirection when omnibox has focus... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 MSG_WM_KEYDOWN(OnKeyDown) 155 MSG_WM_KEYDOWN(OnKeyDown)
156 MSG_WM_KEYUP(OnKeyUp) 156 MSG_WM_KEYUP(OnKeyUp)
157 MSG_WM_KILLFOCUS(OnKillFocus) 157 MSG_WM_KILLFOCUS(OnKillFocus)
158 MSG_WM_LBUTTONDBLCLK(OnLButtonDblClk) 158 MSG_WM_LBUTTONDBLCLK(OnLButtonDblClk)
159 MSG_WM_LBUTTONDOWN(OnLButtonDown) 159 MSG_WM_LBUTTONDOWN(OnLButtonDown)
160 MSG_WM_LBUTTONUP(OnLButtonUp) 160 MSG_WM_LBUTTONUP(OnLButtonUp)
161 MSG_WM_MBUTTONDOWN(OnNonLButtonDown) 161 MSG_WM_MBUTTONDOWN(OnNonLButtonDown)
162 MSG_WM_MBUTTONUP(OnNonLButtonUp) 162 MSG_WM_MBUTTONUP(OnNonLButtonUp)
163 MSG_WM_MOUSEACTIVATE(OnMouseActivate) 163 MSG_WM_MOUSEACTIVATE(OnMouseActivate)
164 MSG_WM_MOUSEMOVE(OnMouseMove) 164 MSG_WM_MOUSEMOVE(OnMouseMove)
165 MSG_WM_MOUSEWHEEL(OnMouseWheel)
165 MSG_WM_PAINT(OnPaint) 166 MSG_WM_PAINT(OnPaint)
166 MSG_WM_PASTE(OnPaste) 167 MSG_WM_PASTE(OnPaste)
167 MSG_WM_RBUTTONDOWN(OnNonLButtonDown) 168 MSG_WM_RBUTTONDOWN(OnNonLButtonDown)
168 MSG_WM_RBUTTONUP(OnNonLButtonUp) 169 MSG_WM_RBUTTONUP(OnNonLButtonUp)
169 MSG_WM_SETFOCUS(OnSetFocus) 170 MSG_WM_SETFOCUS(OnSetFocus)
170 MSG_WM_SYSCHAR(OnSysChar) // WM_SYSxxx == WM_xxx with ALT down 171 MSG_WM_SYSCHAR(OnSysChar) // WM_SYSxxx == WM_xxx with ALT down
171 MSG_WM_SYSKEYDOWN(OnKeyDown) 172 MSG_WM_SYSKEYDOWN(OnKeyDown)
172 MSG_WM_SYSKEYUP(OnKeyUp) 173 MSG_WM_SYSKEYUP(OnKeyUp)
173 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging) 174 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging)
174 DEFAULT_REFLECTION_HANDLER() // avoids black margin area 175 DEFAULT_REFLECTION_HANDLER() // avoids black margin area
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 LRESULT OnImeComposition(UINT message, WPARAM wparam, LPARAM lparam); 234 LRESULT OnImeComposition(UINT message, WPARAM wparam, LPARAM lparam);
234 LRESULT OnImeNotify(UINT message, WPARAM wparam, LPARAM lparam); 235 LRESULT OnImeNotify(UINT message, WPARAM wparam, LPARAM lparam);
235 void OnKeyDown(TCHAR key, UINT repeat_count, UINT flags); 236 void OnKeyDown(TCHAR key, UINT repeat_count, UINT flags);
236 void OnKeyUp(TCHAR key, UINT repeat_count, UINT flags); 237 void OnKeyUp(TCHAR key, UINT repeat_count, UINT flags);
237 void OnKillFocus(HWND focus_wnd); 238 void OnKillFocus(HWND focus_wnd);
238 void OnLButtonDblClk(UINT keys, const CPoint& point); 239 void OnLButtonDblClk(UINT keys, const CPoint& point);
239 void OnLButtonDown(UINT keys, const CPoint& point); 240 void OnLButtonDown(UINT keys, const CPoint& point);
240 void OnLButtonUp(UINT keys, const CPoint& point); 241 void OnLButtonUp(UINT keys, const CPoint& point);
241 LRESULT OnMouseActivate(HWND window, UINT hit_test, UINT mouse_message); 242 LRESULT OnMouseActivate(HWND window, UINT hit_test, UINT mouse_message);
242 void OnMouseMove(UINT keys, const CPoint& point); 243 void OnMouseMove(UINT keys, const CPoint& point);
244 BOOL OnMouseWheel(UINT flags, short delta, CPoint point);
243 void OnNonLButtonDown(UINT keys, const CPoint& point); 245 void OnNonLButtonDown(UINT keys, const CPoint& point);
244 void OnNonLButtonUp(UINT keys, const CPoint& point); 246 void OnNonLButtonUp(UINT keys, const CPoint& point);
245 void OnPaint(HDC bogus_hdc); 247 void OnPaint(HDC bogus_hdc);
246 void OnPaste(); 248 void OnPaste();
247 void OnSetFocus(HWND focus_wnd); 249 void OnSetFocus(HWND focus_wnd);
248 void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags); 250 void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags);
249 void OnWindowPosChanging(WINDOWPOS* window_pos); 251 void OnWindowPosChanging(WINDOWPOS* window_pos);
250 252
251 // Helper function for OnChar() and OnKeyDown() that handles keystrokes that 253 // Helper function for OnChar() and OnKeyDown() that handles keystrokes that
252 // could change the text in the edit. 254 // could change the text in the edit.
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // striken-out when displaying an insecure scheme. 463 // striken-out when displaying an insecure scheme.
462 url_parse::Component insecure_scheme_component_; 464 url_parse::Component insecure_scheme_component_;
463 465
464 // Instance of accessibility information and handling. 466 // Instance of accessibility information and handling.
465 mutable CComPtr<IAccessible> autocomplete_accessibility_; 467 mutable CComPtr<IAccessible> autocomplete_accessibility_;
466 468
467 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); 469 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin);
468 }; 470 };
469 471
470 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 472 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698