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

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

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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_file_proxy.cc ('k') | ppapi/proxy/ppb_flash_menu_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_PPB_FLASH_MENU_PROXY_H_ 5 #ifndef PPAPI_PPB_FLASH_MENU_PROXY_H_
6 #define PPAPI_PPB_FLASH_MENU_PROXY_H_ 6 #define PPAPI_PPB_FLASH_MENU_PROXY_H_
7 7
8 #include "ppapi/proxy/interface_proxy.h" 8 #include "ppapi/proxy/interface_proxy.h"
9 #include "ppapi/proxy/plugin_resource.h" 9 #include "ppapi/proxy/plugin_resource.h"
10 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" 10 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
(...skipping 18 matching lines...) Expand all
29 const PP_Flash_Menu* menu_data); 29 const PP_Flash_Menu* menu_data);
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 struct ShowRequest; 35 struct ShowRequest;
36 36
37 void OnMsgCreate(PP_Instance instance_id, 37 void OnMsgCreate(PP_Instance instance_id,
38 const SerializedFlashMenu& menu_data, 38 const SerializedFlashMenu& menu_data,
39 HostResource* resource); 39 ppapi::HostResource* resource);
40 void OnMsgShow(const HostResource& menu, 40 void OnMsgShow(const ppapi::HostResource& menu,
41 const PP_Point& location); 41 const PP_Point& location);
42 void OnMsgShowACK(const HostResource& menu, 42 void OnMsgShowACK(const ppapi::HostResource& menu,
43 int32_t selected_id, 43 int32_t selected_id,
44 int32_t result); 44 int32_t result);
45 void SendShowACKToPlugin(int32_t result, ShowRequest* request); 45 void SendShowACKToPlugin(int32_t result, ShowRequest* request);
46 46
47 CompletionCallbackFactory<PPB_Flash_Menu_Proxy, 47 CompletionCallbackFactory<PPB_Flash_Menu_Proxy,
48 ProxyNonThreadSafeRefCount> callback_factory_; 48 ProxyNonThreadSafeRefCount> callback_factory_;
49 }; 49 };
50 50
51 } // namespace proxy 51 } // namespace proxy
52 } // namespace pp 52 } // namespace pp
53 53
54 #endif // PPAPI_PPB_FLASH_MENU_PROXY_H_ 54 #endif // PPAPI_PPB_FLASH_MENU_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_file_proxy.cc ('k') | ppapi/proxy/ppb_flash_menu_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698