Add user actions for stacked tab mode
commitf02243a88ccd40365d80eec715a232adfb981213
authortdanderson <tdanderson@chromium.org>
Thu, 30 Apr 2015 17:23:03 +0000 (30 10:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Apr 2015 17:23:26 +0000 (30 17:23 +0000)
treebc84301c246ab8a7eb3bc20e7acc90b87a26576f
parentb0d4b573b6f8f9248b40153ba4a85bb346ed3d65
Add user actions for stacked tab mode

Add two user actions for stacked tab mode:

* StackedTab_EnteredStackedLayout is recorded when
  the tabstrip layout becomes stacked. This happens
  when the user is interacting with the tabstrip
  using touch and there is insufficient space to be
  able to display all tabs at a minimum
  touch-friendly width.

* StackedTab_DragActiveTab is recorded when the
  user drags the active tab (to scroll through
  the list of open tabs) while in stacked tab mode.

BUG=466103,481134
TEST=none

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

Cr-Commit-Position: refs/heads/master@{#327728}
chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
chrome/browser/ui/views/tabs/tab_strip.cc
tools/metrics/actions/actions.xml