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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/location_bar_view.cc (revision 151406)
+++ chrome/browser/ui/views/location_bar/location_bar_view.cc (working copy)
@@ -933,7 +933,7 @@
}
#if defined(OS_WIN) && !defined(USE_AURA)
-bool LocationBarView::OnMousePressed(const views::MouseEvent& event) {
+bool LocationBarView::OnMousePressed(const ui::MouseEvent& event) {
UINT msg;
if (event.IsLeftMouseButton()) {
msg = (event.flags() & ui::EF_IS_DOUBLE_CLICK) ?
@@ -952,12 +952,12 @@
return true;
}
-bool LocationBarView::OnMouseDragged(const views::MouseEvent& event) {
+bool LocationBarView::OnMouseDragged(const ui::MouseEvent& event) {
OnMouseEvent(event, WM_MOUSEMOVE);
return true;
}
-void LocationBarView::OnMouseReleased(const views::MouseEvent& event) {
+void LocationBarView::OnMouseReleased(const ui::MouseEvent& event) {
UINT msg;
if (event.IsLeftMouseButton()) {
msg = WM_LBUTTONUP;
@@ -1170,7 +1170,7 @@
}
#if defined(OS_WIN) && !defined(USE_AURA)
-void LocationBarView::OnMouseEvent(const views::MouseEvent& event, UINT msg) {
+void LocationBarView::OnMouseEvent(const ui::MouseEvent& event, UINT msg) {
OmniboxViewWin* omnibox_win = GetOmniboxViewWin(location_entry_.get());
if (omnibox_win) {
UINT flags = event.native_event().wParam;
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | chrome/browser/ui/views/location_bar/location_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698