Commit efa31980 authored by bruthig's avatar bruthig Committed by Commit bot

Fixed minor formatting in ash/shelf/shelf_view.cc:RecordIconActivatedAction(...)

BUG=471354

Review URL: https://codereview.chromium.org/1061283004

Cr-Commit-Position: refs/heads/master@{#324134}
parent 38e2756f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment