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

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

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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/proxy_non_thread_safe_ref_count.h" 9 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
10 10
11 struct PP_Flash_Menu; 11 struct PP_Flash_Menu;
12 struct PP_Point; 12 struct PP_Point;
13 struct PPB_Flash_Menu; 13 struct PPB_Flash_Menu;
14 14
15 namespace ppapi { 15 namespace ppapi {
16
16 class HostResource; 17 class HostResource;
17 }
18 18
19 namespace pp {
20 namespace proxy { 19 namespace proxy {
21 20
22 class SerializedFlashMenu; 21 class SerializedFlashMenu;
23 22
24 class PPB_Flash_Menu_Proxy : public InterfaceProxy { 23 class PPB_Flash_Menu_Proxy : public InterfaceProxy {
25 public: 24 public:
26 PPB_Flash_Menu_Proxy(Dispatcher* dispatcher, const void* target_interface); 25 PPB_Flash_Menu_Proxy(Dispatcher* dispatcher, const void* target_interface);
27 virtual ~PPB_Flash_Menu_Proxy(); 26 virtual ~PPB_Flash_Menu_Proxy();
28 27
29 static const Info* GetInfo(); 28 static const Info* GetInfo();
(...skipping 10 matching lines...) Expand all
40 void OnMsgCreate(PP_Instance instance_id, 39 void OnMsgCreate(PP_Instance instance_id,
41 const SerializedFlashMenu& menu_data, 40 const SerializedFlashMenu& menu_data,
42 ppapi::HostResource* resource); 41 ppapi::HostResource* resource);
43 void OnMsgShow(const ppapi::HostResource& menu, 42 void OnMsgShow(const ppapi::HostResource& menu,
44 const PP_Point& location); 43 const PP_Point& location);
45 void OnMsgShowACK(const ppapi::HostResource& menu, 44 void OnMsgShowACK(const ppapi::HostResource& menu,
46 int32_t selected_id, 45 int32_t selected_id,
47 int32_t result); 46 int32_t result);
48 void SendShowACKToPlugin(int32_t result, ShowRequest* request); 47 void SendShowACKToPlugin(int32_t result, ShowRequest* request);
49 48
50 CompletionCallbackFactory<PPB_Flash_Menu_Proxy, 49 pp::CompletionCallbackFactory<PPB_Flash_Menu_Proxy,
51 ProxyNonThreadSafeRefCount> callback_factory_; 50 ProxyNonThreadSafeRefCount> callback_factory_;
52 }; 51 };
53 52
54 } // namespace proxy 53 } // namespace proxy
55 } // namespace pp 54 } // namespace ppapi
56 55
57 #endif // PPAPI_PPB_FLASH_MENU_PROXY_H_ 56 #endif // PPAPI_PPB_FLASH_MENU_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698