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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 7753025: Move the mouse wheel utils from views to ui\base\win, to get rid of some views dependencies in co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_win.cc (revision 98345)
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.cc (working copy)
@@ -48,12 +48,12 @@
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
+#include "ui/base/win/mouse_wheel_util.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/canvas_skia.h"
#include "views/controls/textfield/native_textfield_win.h"
#include "views/drag_utils.h"
#include "views/events/event_utils_win.h"
-#include "views/focus/focus_util_win.h"
#include "views/widget/widget.h"
#pragma comment(lib, "oleacc.lib") // Needed for accessibility support.
@@ -1813,8 +1813,8 @@
BOOL OmniboxViewWin::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)))
+ if (!ui::RerouteMouseWheel(m_hWnd, MAKEWPARAM(flags, delta),
+ MAKELPARAM(point.x, point.y)))
SetMsgHandled(false);
return 0;
}
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698