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

Side by Side Diff: ppapi/cpp/private/input_event_private.h

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move StartTrackingLatency() to InputEventPrivate 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
« no previous file with comments | « ppapi/c/private/ppb_input_event_private.h ('k') | ppapi/cpp/private/input_event_private.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_
7
8 #include "ppapi/c/private/ppb_input_event_private.h"
9 #include "ppapi/cpp/input_event.h"
10
11 namespace pp {
12
13 class InputEventPrivate : public InputEvent {
14 public:
15 InputEventPrivate();
16 explicit InputEventPrivate(const InputEvent& event);
17
18 bool TraceInputLatency(bool has_damage);
19
20 /// See PPB_InputEventPrivate.StartTrackingLatency.
21 static void StartTrackingLatency (const PP_Instance& instance);
dmichael (off chromium) 2014/05/09 15:19:33 tiny nit: For consistency at least, it might be be
Yufeng Shen (Slow to review) 2014/05/12 21:53:07 Done.
22
23 };
24
25 }
26
27 #endif // PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_input_event_private.h ('k') | ppapi/cpp/private/input_event_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698