summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorbruthig <bruthig@chromium.org>2015-04-07 15:12:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-07 22:13:09 +0000
commitefa3198091d4215823a71651b0a91e2ea2e518ab (patch)
tree89ebc9c478b75410eaa09536d7ca5c1c9845205b /ash
parent38e2756fd149695916e2948ec88f96d3ea005d23 (diff)
downloadchromium_src-efa3198091d4215823a71651b0a91e2ea2e518ab.zip
chromium_src-efa3198091d4215823a71651b0a91e2ea2e518ab.tar.gz
chromium_src-efa3198091d4215823a71651b0a91e2ea2e518ab.tar.bz2
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}
Diffstat (limited to 'ash')
-rw-r--r--ash/shelf/shelf_view.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index 9a0fb70..b4a3b72 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