touch_uma.h revision eb525c5499e34cc9c4b825d6d9e75bb07cc06ace
1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_VIEWS_TOUCH_UMA_TOUCH_UMA_H_ 6#define CHROME_BROWSER_UI_VIEWS_TOUCH_UMA_TOUCH_UMA_H_ 7 8#include "base/basictypes.h" 9 10class TouchUMA { 11 public: 12 enum GestureActionType { 13 GESTURE_TABSWITCH_TAP, 14 GESTURE_TABNOSWITCH_TAP, 15 GESTURE_TABCLOSE_TAP, 16 GESTURE_NEWTAB_TAP, 17 GESTURE_ROOTVIEWTOP_TAP, 18 }; 19 20 static void RecordGestureAction(GestureActionType action); 21 22 private: 23 DISALLOW_IMPLICIT_CONSTRUCTORS(TouchUMA); 24}; 25 26#endif // CHROME_BROWSER_UI_VIEWS_TOUCH_UMA_TOUCH_UMA_H_ 27