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

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

Issue 8413021: Add functions to generate input events to PPB_Testing_Dev. These make (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_PPB_TESTING_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_TESTING_PROXY_H_
6 #define PPAPI_PROXY_PPB_TESTING_PROXY_H_ 6 #define PPAPI_PROXY_PPB_TESTING_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
(...skipping 18 matching lines...) Expand all
29 29
30 private: 30 private:
31 // Message handlers. 31 // Message handlers.
32 void OnMsgReadImageData(const ppapi::HostResource& device_context_2d, 32 void OnMsgReadImageData(const ppapi::HostResource& device_context_2d,
33 const ppapi::HostResource& image, 33 const ppapi::HostResource& image,
34 const PP_Point& top_left, 34 const PP_Point& top_left,
35 PP_Bool* result); 35 PP_Bool* result);
36 void OnMsgRunMessageLoop(PP_Instance instance); 36 void OnMsgRunMessageLoop(PP_Instance instance);
37 void OnMsgQuitMessageLoop(PP_Instance instance); 37 void OnMsgQuitMessageLoop(PP_Instance instance);
38 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); 38 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result);
39 void OnMsgSimulateInputEvent(PP_Instance instance,
40 const ppapi::HostResource& input_event);
39 41
40 // When this proxy is in the host side, this value caches the interface 42 // When this proxy is in the host side, this value caches the interface
41 // pointer so we don't have to retrieve it from the dispatcher each time. 43 // pointer so we don't have to retrieve it from the dispatcher each time.
42 // In the plugin, this value is always NULL. 44 // In the plugin, this value is always NULL.
43 const PPB_Testing_Dev* ppb_testing_impl_; 45 const PPB_Testing_Dev* ppb_testing_impl_;
44 46
45 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy); 47 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy);
46 }; 48 };
47 49
48 } // namespace proxy 50 } // namespace proxy
49 } // namespace ppapi 51 } // namespace ppapi
50 52
51 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_ 53 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698