Index: ppapi/cpp/private/input_event_private.h |
diff --git a/ppapi/cpp/private/input_event_private.h b/ppapi/cpp/private/input_event_private.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..439cc7999af13bb5d061fe0dd5f12a8413beea22 |
--- /dev/null |
+++ b/ppapi/cpp/private/input_event_private.h |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_ |
+#define PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_ |
+ |
+#include "ppapi/c/private/ppb_input_event_private.h" |
+#include "ppapi/cpp/input_event.h" |
+ |
+namespace pp { |
+ |
+class InputEventPrivate : public InputEvent { |
+ public: |
+ InputEventPrivate(); |
+ explicit InputEventPrivate(const InputEvent& event); |
+ |
+ bool TraceInputLatency(bool has_damage); |
+ |
+ /// See PPB_InputEventPrivate.StartTrackingLatency. |
+ static void StartTrackingLatency (const InstanceHandle& instance); |
+ |
+}; |
+ |
+} |
+ |
+#endif // PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_ |