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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 2751403002: Record the fraction of the time without user input - Aura only (Closed)
Patch Set: Add units to histogram 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 9693f722e1136b74e05aa92dc8da528719779e92..de5753c1232caa48193f9675acd7fff44871b46f 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -22,6 +22,7 @@
#include "ui/events/event_constants.h"
#include "ui/events/event_processor.h"
#include "ui/events/event_targeter.h"
+#include "ui/events/fraction_of_time_without_user_input_recorder.h"
#include "ui/events/gestures/gesture_recognizer.h"
#include "ui/events/gestures/gesture_types.h"
#include "ui/gfx/geometry/point.h"
@@ -246,6 +247,9 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
Window* event_dispatch_target_;
Window* old_dispatch_target_;
+ ui::FractionOfTimeWithoutUserInputRecorder
+ fraction_of_time_without_user_input_recorder_;
+
bool synthesize_mouse_move_;
// How many move holds are outstanding. We try to defer dispatching
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698