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

Side by Side Diff: ppapi/api/private/ppb_input_event_private.idl

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add ui/events/latency_info_param_traits_macros.h Created 6 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
(Empty)
1 /* Copyright (c) 2014 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
6 /**
7 * This file defines the PPB_InputEvent_Private interfaces.
8 */
9
10 label Chrome {
11 M36 = 0.1
12 };
13
14 /**
15 * The <code>PPB_InputEvent_Private</code> interface contains pointers to severa l
16 * functions related to generic input events on the browser.
17 */
18
19 interface PPB_InputEvent_Private {
20 /**
21 * TraceInputLatency() traces the latency of the input event. The input
22 * latency is shown in the trace viewer. The starting point of the input
23 * latency is when the input event is sent from renderer to plugin. If the
24 * input event does not cause any rendering damage, the end point of input
25 * latency is when TraceInputLatency() is called on the event. If the input
26 * event does cause rendering damage, the end point of input latency is when
27 * the resulted plugin frame eventually reaches screen.
dmichael (off chromium) 2014/05/05 22:20:32 There are some caveats with this in your current p
Yufeng Shen (Slow to review) 2014/05/07 17:12:14 Extra notes added.
28 *
29 * @param[in] event A <code>PP_Resource</code> corresponding to an input
30 * event.
31 *
32 * @param[in] has_damage A bool indicating whether the event has caused any
33 * rendering damage.
34 */
35
36 void TraceInputLatency([in] PP_Resource event,
37 [in] PP_Bool has_damage);
38 };
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698