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

Unified Diff: views/controls/textfield/native_textfield_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 | « ui/ui.gyp ('k') | views/focus/focus_util_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_win.cc
===================================================================
--- views/controls/textfield/native_textfield_win.cc (revision 98345)
+++ views/controls/textfield/native_textfield_win.cc (working copy)
@@ -21,6 +21,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
#include "ui/base/range/range.h"
+#include "ui/base/win/mouse_wheel_util.h"
#include "ui/gfx/native_theme_win.h"
#include "views/controls/label.h"
#include "views/controls/menu/menu_2.h"
@@ -30,7 +31,6 @@
#include "views/controls/textfield/textfield.h"
#include "views/controls/textfield/textfield_controller.h"
#include "views/focus/focus_manager.h"
-#include "views/focus/focus_util_win.h"
#include "views/metrics.h"
#include "views/views_delegate.h"
#include "views/widget/widget.h"
@@ -749,7 +749,7 @@
LPARAM l_param) {
// Reroute the mouse-wheel to the window under the mouse pointer if
// applicable.
- if (views::RerouteMouseWheel(m_hWnd, w_param, l_param))
+ if (ui::RerouteMouseWheel(m_hWnd, w_param, l_param))
return 0;
return DefWindowProc(message, w_param, l_param);
}
« no previous file with comments | « ui/ui.gyp ('k') | views/focus/focus_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698