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

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

Issue 6432001: Implement proxy for FlashMenu and Run/QuitMessageLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle NULL menus more gracefully Created 9 years, 10 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
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/proxy/ppb_testing_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 // InterfaceProxy implementation. 31 // InterfaceProxy implementation.
32 virtual bool OnMessageReceived(const IPC::Message& msg); 32 virtual bool OnMessageReceived(const IPC::Message& msg);
33 33
34 private: 34 private:
35 // Message handlers. 35 // Message handlers.
36 void OnMsgReadImageData(const HostResource& device_context_2d, 36 void OnMsgReadImageData(const HostResource& device_context_2d,
37 const HostResource& image, 37 const HostResource& image,
38 const PP_Point& top_left, 38 const PP_Point& top_left,
39 PP_Bool* result); 39 PP_Bool* result);
40 void OnMsgRunMessageLoop(bool* dummy); 40 void OnMsgRunMessageLoop(PP_Instance instance);
41 void OnMsgQuitMessageLoop(); 41 void OnMsgQuitMessageLoop(PP_Instance instance);
42 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); 42 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result);
43 43
44 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy); 44 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy);
45 }; 45 };
46 46
47 } // namespace proxy 47 } // namespace proxy
48 } // namespace pp 48 } // namespace pp
49 49
50 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_ 50 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/proxy/ppb_testing_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698