diff options
author | bruthig <bruthig@chromium.org> | 2015-04-07 15:12:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-07 22:13:09 +0000 |
commit | efa3198091d4215823a71651b0a91e2ea2e518ab (patch) | |
tree | 89ebc9c478b75410eaa09536d7ca5c1c9845205b /ash | |
parent | 38e2756fd149695916e2948ec88f96d3ea005d23 (diff) | |
download | chromium_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.cc | 5 |
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 |