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

Side by Side Diff: blimp/client/feature/compositor/blimp_input_handler_wrapper.cc

Issue 1923973002: Add UMA metric for tracking listeners for blocking touch while fling is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comments in histogram Created 4 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h" 5 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "blimp/client/feature/compositor/blimp_input_manager.h" 10 #include "blimp/client/feature/compositor/blimp_input_manager.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 void BlimpInputHandlerWrapper::DidOverscroll( 92 void BlimpInputHandlerWrapper::DidOverscroll(
93 const gfx::Vector2dF& accumulated_overscroll, 93 const gfx::Vector2dF& accumulated_overscroll,
94 const gfx::Vector2dF& latest_overscroll_delta, 94 const gfx::Vector2dF& latest_overscroll_delta,
95 const gfx::Vector2dF& current_fling_velocity, 95 const gfx::Vector2dF& current_fling_velocity,
96 const gfx::PointF& causal_event_viewport_point) { 96 const gfx::PointF& causal_event_viewport_point) {
97 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 97 DCHECK(compositor_thread_checker_.CalledOnValidThread());
98 } 98 }
99 99
100 void BlimpInputHandlerWrapper::DidStartFlinging() {
101 DCHECK(compositor_thread_checker_.CalledOnValidThread());
102 }
103
100 void BlimpInputHandlerWrapper::DidStopFlinging() { 104 void BlimpInputHandlerWrapper::DidStopFlinging() {
101 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 105 DCHECK(compositor_thread_checker_.CalledOnValidThread());
102 } 106 }
103 107
104 void BlimpInputHandlerWrapper::DidAnimateForInput() { 108 void BlimpInputHandlerWrapper::DidAnimateForInput() {
105 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 109 DCHECK(compositor_thread_checker_.CalledOnValidThread());
106 } 110 }
107 111
108 } // namespace client 112 } // namespace client
109 } // namespace blimp 113 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698