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

Unified Diff: ash/shelf/shelf_view.cc

Issue 1061283004: Fixed minor formatting in ash/shelf/shelf_view.cc:RecordIconActivatedAction(...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.cc
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index 9a0fb70b8beee4bc916c7e10c212b1aab5277fc0..b4a3b72c3d1f43c28c4f53c84125c4ef8369824d 100644
--- a/ash/shelf/shelf_view.cc
+++ b/ash/shelf/shelf_view.cc
@@ -310,12 +310,13 @@ void ReflectItemStatus(const ShelfItem& item, ShelfButton* button) {
}
void RecordIconActivatedAction(const ui::Event& event) {
- if (event.IsMouseEvent())
+ if (event.IsMouseEvent()) {
Shell::GetInstance()->metrics()->RecordUserMetricsAction(
UMA_LAUNCHER_BUTTON_PRESSED_WITH_MOUSE);
- else if (event.IsGestureEvent())
+ } else if (event.IsGestureEvent()) {
Shell::GetInstance()->metrics()->RecordUserMetricsAction(
UMA_LAUNCHER_BUTTON_PRESSED_WITH_TOUCH);
+ }
}
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698