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