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

Unified Diff: ash/launcher/app_list_button.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
« no previous file with comments | « ash/launcher/app_list_button.h ('k') | ash/launcher/launcher_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/app_list_button.cc
===================================================================
--- ash/launcher/app_list_button.cc (revision 151406)
+++ ash/launcher/app_list_button.cc (working copy)
@@ -33,13 +33,13 @@
AppListButton::~AppListButton() {
}
-bool AppListButton::OnMousePressed(const views::MouseEvent& event) {
+bool AppListButton::OnMousePressed(const ui::MouseEvent& event) {
ImageButton::OnMousePressed(event);
host_->PointerPressedOnButton(this, LauncherButtonHost::MOUSE, event);
return true;
}
-void AppListButton::OnMouseReleased(const views::MouseEvent& event) {
+void AppListButton::OnMouseReleased(const ui::MouseEvent& event) {
ImageButton::OnMouseReleased(event);
host_->PointerReleasedOnButton(this, LauncherButtonHost::MOUSE, false);
}
@@ -49,23 +49,23 @@
ImageButton::OnMouseCaptureLost();
}
-bool AppListButton::OnMouseDragged(const views::MouseEvent& event) {
+bool AppListButton::OnMouseDragged(const ui::MouseEvent& event) {
ImageButton::OnMouseDragged(event);
host_->PointerDraggedOnButton(this, LauncherButtonHost::MOUSE, event);
return true;
}
-void AppListButton::OnMouseMoved(const views::MouseEvent& event) {
+void AppListButton::OnMouseMoved(const ui::MouseEvent& event) {
ImageButton::OnMouseMoved(event);
host_->MouseMovedOverButton(this);
}
-void AppListButton::OnMouseEntered(const views::MouseEvent& event) {
+void AppListButton::OnMouseEntered(const ui::MouseEvent& event) {
ImageButton::OnMouseEntered(event);
host_->MouseEnteredButton(this);
}
-void AppListButton::OnMouseExited(const views::MouseEvent& event) {
+void AppListButton::OnMouseExited(const ui::MouseEvent& event) {
ImageButton::OnMouseExited(event);
host_->MouseExitedButton(this);
}
« no previous file with comments | « ash/launcher/app_list_button.h ('k') | ash/launcher/launcher_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698