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

Side by Side Diff: ppapi/proxy/ppb_input_event_proxy.h

Issue 7285010: Implement an input event resource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 #ifndef PPAPI_PROXY_PPB_INPUT_EVENT_PROXY_H_
6 #define PPAPI_PROXY_PPB_INPUT_EVENT_PROXY_H_
7
8 #include "base/basictypes.h"
9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/proxy/interface_proxy.h"
11 #include "ppapi/shared_impl/input_event_impl.h"
12
13 namespace ppapi {
14 struct InputEventData;
15 }
16
17 namespace pp {
18 namespace proxy {
19
20 class PPB_InputEvent_Proxy : public InterfaceProxy {
21 public:
22 PPB_InputEvent_Proxy(Dispatcher* dispatcher, const void* target_interface);
23 virtual ~PPB_InputEvent_Proxy();
24
25 static const Info* GetInfo();
26
27 static PP_Resource CreateProxyResource(PP_Instance instance,
28 const ppapi::InputEventData& data);
29
30 // InterfaceProxy implementation.
31 virtual bool OnMessageReceived(const IPC::Message& msg);
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(PPB_InputEvent_Proxy);
35 };
36
37 } // namespace proxy
38 } // namespace pp
39
40 #endif // PPAPI_PROXY_PPB_INPUT_EVENT_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698