OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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 #include "ppapi/shared_impl/input_event_impl.h" | |
6 #include "ppapi/shared_impl/resource.h" | |
7 | |
8 namespace ppapi { | |
9 struct InputEventData; | |
10 } | |
11 | |
12 namespace webkit { | |
13 namespace ppapi { | |
14 | |
15 class PPB_InputEvent_Impl : public ::ppapi::Resource, | |
16 public ::ppapi::InputEventImpl { | |
17 public: | |
18 PPB_InputEvent_Impl(PP_Instance instance, | |
19 const ::ppapi::InputEventData& data); | |
20 | |
21 // Resource overrides. | |
22 virtual ::ppapi::thunk::PPB_InputEvent_API* AsPPB_InputEvent_API() OVERRIDE; | |
23 | |
24 protected: | |
25 // InputEventImpl implementation. | |
26 virtual PP_Var StringToPPVar(const std::string& str) OVERRIDE; | |
27 | |
28 private: | |
29 DISALLOW_COPY_AND_ASSIGN(PPB_InputEvent_Impl); | |
30 }; | |
31 | |
32 } // namespace ppapi | |
33 } // namespace webkit | |
34 | |
OLD | NEW |