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

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

Issue 9960083: Add a Flash API to get the device ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/interface_list.cc ('k') | ppapi/proxy/ppb_flash_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FLASH_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 class PPB_Flash_Proxy : public InterfaceProxy { 29 class PPB_Flash_Proxy : public InterfaceProxy {
30 public: 30 public:
31 explicit PPB_Flash_Proxy(Dispatcher* dispatcher); 31 explicit PPB_Flash_Proxy(Dispatcher* dispatcher);
32 virtual ~PPB_Flash_Proxy(); 32 virtual ~PPB_Flash_Proxy();
33 33
34 // Returns the corresponding version of the Flash interface pointer. 34 // Returns the corresponding version of the Flash interface pointer.
35 static const PPB_Flash_11* GetInterface11(); 35 static const PPB_Flash_11* GetInterface11();
36 static const PPB_Flash_12_0* GetInterface12_0(); 36 static const PPB_Flash_12_0* GetInterface12_0();
37 static const PPB_Flash_12_1* GetInterface12_1(); 37 static const PPB_Flash_12_1* GetInterface12_1();
38 static const PPB_Flash_12_2* GetInterface12_2();
38 39
39 // InterfaceProxy implementation. 40 // InterfaceProxy implementation.
40 virtual bool OnMessageReceived(const IPC::Message& msg); 41 virtual bool OnMessageReceived(const IPC::Message& msg);
41 42
42 private: 43 private:
43 // Message handlers. 44 // Message handlers.
44 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance, 45 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance,
45 PP_Bool on_top); 46 PP_Bool on_top);
46 void OnMsgDrawGlyphs(const PPBFlash_DrawGlyphs_Params& params, 47 void OnMsgDrawGlyphs(const PPBFlash_DrawGlyphs_Params& params,
47 PP_Bool* result); 48 PP_Bool* result);
(...skipping 18 matching lines...) Expand all
66 // In the plugin, this value is always NULL. 67 // In the plugin, this value is always NULL.
67 const PPB_Flash* ppb_flash_impl_; 68 const PPB_Flash* ppb_flash_impl_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); 70 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
70 }; 71 };
71 72
72 } // namespace proxy 73 } // namespace proxy
73 } // namespace ppapi 74 } // namespace ppapi
74 75
75 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ 76 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698