Chromium Code Reviews| 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..3a05b0dec11a598a1b9c486b4ec0cc0d9a776a67 |
| --- /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 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.
|
| + |
| +}; |
| + |
| +} |
| + |
| +#endif // PPAPI_CPP_PRIVATE_INPUT_EVENT_PRIVATE_H_ |