OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |