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

Unified Diff: ash/system/date/date_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
« no previous file with comments | « ash/system/date/date_view.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/date/date_view.cc
===================================================================
--- ash/system/date/date_view.cc (revision 151406)
+++ ash/system/date/date_view.cc (working copy)
@@ -142,7 +142,7 @@
return true;
}
-void DateView::OnMouseEntered(const views::MouseEvent& event) {
+void DateView::OnMouseEntered(const ui::MouseEvent& event) {
if (!actionable_)
return;
date_label_->SetEnabledColor(kHeaderTextColorHover);
@@ -150,7 +150,7 @@
SchedulePaint();
}
-void DateView::OnMouseExited(const views::MouseEvent& event) {
+void DateView::OnMouseExited(const ui::MouseEvent& event) {
if (!actionable_)
return;
date_label_->SetEnabledColor(kHeaderTextColorNormal);
@@ -198,7 +198,7 @@
return false;
}
-bool TimeView::OnMousePressed(const views::MouseEvent& event) {
+bool TimeView::OnMousePressed(const ui::MouseEvent& event) {
// Let the event fall through.
return false;
}
« no previous file with comments | « ash/system/date/date_view.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698