Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: ash/touch/touch_uma.h

Issue 10816008: ash: Record some additional information about the gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/touch/touch_uma.cc » ('j') | ash/touch/touch_uma.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ 5 #ifndef ASH_TOUCH_TOUCH_OBSERVER_UMA_H_
6 #define ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ 6 #define ASH_TOUCH_TOUCH_OBSERVER_UMA_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 TouchUMA(); 28 TouchUMA();
29 ~TouchUMA(); 29 ~TouchUMA();
30 30
31 void RecordGestureEvent(aura::Window* target, 31 void RecordGestureEvent(aura::Window* target,
32 const aura::GestureEvent& event); 32 const aura::GestureEvent& event);
33 void RecordTouchEvent(aura::Window* target, 33 void RecordTouchEvent(aura::Window* target,
34 const aura::TouchEvent& event); 34 const aura::TouchEvent& event);
35 35
36 private: 36 private:
37 std::map<ui::EventType, int> ui_event_type_map_;
38
39 DISALLOW_COPY_AND_ASSIGN(TouchUMA); 37 DISALLOW_COPY_AND_ASSIGN(TouchUMA);
40 }; 38 };
41 39
42 } // namespace internal 40 } // namespace internal
43 } // namespace ash 41 } // namespace ash
44 42
45 #endif // ASH_TOUCH_TOUCH_OBSERVER_UMA_H_ 43 #endif // ASH_TOUCH_TOUCH_OBSERVER_UMA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/touch/touch_uma.cc » ('j') | ash/touch/touch_uma.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698