• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 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 InstanceHandle& instance);
22 
23 };
24 
25 }
26 
27 #endif   // PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_
28