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

Unified Diff: chrome/browser/ui/views/location_bar/chrome_to_mobile_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/chrome_to_mobile_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/chrome_to_mobile_view.cc (revision 151406)
+++ chrome/browser/ui/views/location_bar/chrome_to_mobile_view.cc (working copy)
@@ -63,12 +63,12 @@
return views::ImageView::GetTooltipText(p, tooltip);
}
-bool ChromeToMobileView::OnMousePressed(const views::MouseEvent& event) {
+bool ChromeToMobileView::OnMousePressed(const ui::MouseEvent& event) {
// Show the bubble on mouse release; that is standard button behavior.
return true;
}
-void ChromeToMobileView::OnMouseReleased(const views::MouseEvent& event) {
+void ChromeToMobileView::OnMouseReleased(const ui::MouseEvent& event) {
if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location()))
command_updater_->ExecuteCommand(IDC_CHROME_TO_MOBILE_PAGE);
}

Powered by Google App Engine
This is Rietveld 408576698