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

Side by Side Diff: ash/common/metrics/pointer_metrics_recorder.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2016 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 UI_ASH_COMMON_METRICS_POINTER_METRICS_RECORDER_H_
6 #define UI_ASH_COMMON_METRICS_POINTER_METRICS_RECORDER_H_
7
8 #include "ash/ash_export.h"
9 #include "base/macros.h"
10 #include "ui/views/pointer_watcher.h"
11
12 namespace gfx {
13 class Point;
14 }
15
16 namespace ui {
17 class PointerEvent;
18 }
19
20 namespace ash {
21
22 // A metrics recorder that records pointer related metrics.
23 class ASH_EXPORT PointerMetricsRecorder : public views::PointerWatcher {
24 public:
25 PointerMetricsRecorder();
26 ~PointerMetricsRecorder() override;
27
28 // views::PointerWatcher:
29 void OnPointerEventObserved(const ui::PointerEvent& event,
30 const gfx::Point& location_in_screen,
31 views::Widget* target) override;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(PointerMetricsRecorder);
35 };
36
37 } // namespace ash
38
39 #endif // UI_ASH_COMMON_METRICS_POINTER_METRICS_RECORDER_H_
OLDNEW
« no previous file with comments | « ash/common/metrics/gesture_action_type.h ('k') | ash/common/metrics/pointer_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698