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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 1911963005: Fix reporting of TouchToFirstScroll latency metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few nits Created 4 years, 8 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 (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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Notification that a new compositor frame has been generated following 287 // Notification that a new compositor frame has been generated following
288 // a page load. This stops |new_content_rendering_timeout_|, or prevents 288 // a page load. This stops |new_content_rendering_timeout_|, or prevents
289 // the timer from running if the load commit message hasn't been received 289 // the timer from running if the load commit message hasn't been received
290 // yet. 290 // yet.
291 void OnFirstPaintAfterLoad(); 291 void OnFirstPaintAfterLoad();
292 292
293 // Forwards the given message to the renderer. These are called by the view 293 // Forwards the given message to the renderer. These are called by the view
294 // when it has received a message. 294 // when it has received a message.
295 void ForwardGestureEventWithLatencyInfo( 295 void ForwardGestureEventWithLatencyInfo(
296 const blink::WebGestureEvent& gesture_event, 296 const blink::WebGestureEvent& gesture_event,
297 const ui::LatencyInfo& ui_latency); 297 const ui::LatencyInfo& ui_latency) override;
298 void ForwardTouchEventWithLatencyInfo( 298 void ForwardTouchEventWithLatencyInfo(
299 const blink::WebTouchEvent& touch_event, 299 const blink::WebTouchEvent& touch_event,
300 const ui::LatencyInfo& ui_latency); 300 const ui::LatencyInfo& ui_latency);
301 void ForwardMouseEventWithLatencyInfo( 301 void ForwardMouseEventWithLatencyInfo(
302 const blink::WebMouseEvent& mouse_event, 302 const blink::WebMouseEvent& mouse_event,
303 const ui::LatencyInfo& ui_latency); 303 const ui::LatencyInfo& ui_latency);
304 void ForwardWheelEventWithLatencyInfo( 304 void ForwardWheelEventWithLatencyInfo(
305 const blink::WebMouseWheelEvent& wheel_event, 305 const blink::WebMouseWheelEvent& wheel_event,
306 const ui::LatencyInfo& ui_latency); 306 const ui::LatencyInfo& ui_latency);
307 307
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 base::TimeDelta new_content_rendering_delay_; 823 base::TimeDelta new_content_rendering_delay_;
824 824
825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
826 826
827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
828 }; 828 };
829 829
830 } // namespace content 830 } // namespace content
831 831
832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/render_widget_host_latency_tracker.cc ('k') | ui/events/latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698