| 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 14 matching lines...) Expand all Loading... |
| 25 namespace ppapi { | 25 namespace ppapi { |
| 26 | 26 |
| 27 struct URLRequestInfoData; | 27 struct URLRequestInfoData; |
| 28 | 28 |
| 29 namespace proxy { | 29 namespace proxy { |
| 30 | 30 |
| 31 struct PPBFlash_DrawGlyphs_Params; | 31 struct PPBFlash_DrawGlyphs_Params; |
| 32 struct SerializedDirEntry; | 32 struct SerializedDirEntry; |
| 33 class SerializedVarReturnValue; | 33 class SerializedVarReturnValue; |
| 34 | 34 |
| 35 /////////////////////////// WARNING:DEPRECTATED //////////////////////////////// |
| 36 // Please do not add any new functions to this proxy. They should be |
| 37 // implemented in the new-style resource proxy (see flash_resource.h). |
| 38 // TODO(raymes): All of these functions should be moved to the new-style proxy. |
| 39 //////////////////////////////////////////////////////////////////////////////// |
| 35 class PPB_Flash_Proxy : public InterfaceProxy, public PPB_Flash_Shared { | 40 class PPB_Flash_Proxy : public InterfaceProxy, public PPB_Flash_Shared { |
| 36 public: | 41 public: |
| 37 explicit PPB_Flash_Proxy(Dispatcher* dispatcher); | 42 explicit PPB_Flash_Proxy(Dispatcher* dispatcher); |
| 38 virtual ~PPB_Flash_Proxy(); | 43 virtual ~PPB_Flash_Proxy(); |
| 39 | 44 |
| 40 // This flash proxy also proxies the PPB_Flash_Print interface. This one | 45 // This flash proxy also proxies the PPB_Flash_Print interface. This one |
| 41 // doesn't use the regular thunk system because the _impl side is actually in | 46 // doesn't use the regular thunk system because the _impl side is actually in |
| 42 // Chrome rather than with the rest of the interface implementations. | 47 // Chrome rather than with the rest of the interface implementations. |
| 43 static const PPB_Flash_Print_1_0* GetFlashPrintInterface(); | 48 static const PPB_Flash_Print_1_0* GetFlashPrintInterface(); |
| 44 | 49 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 SerializedVarReturnValue result); | 192 SerializedVarReturnValue result); |
| 188 void OnHostMsgInvokePrinting(PP_Instance instance); | 193 void OnHostMsgInvokePrinting(PP_Instance instance); |
| 189 | 194 |
| 190 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); | 195 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); |
| 191 }; | 196 }; |
| 192 | 197 |
| 193 } // namespace proxy | 198 } // namespace proxy |
| 194 } // namespace ppapi | 199 } // namespace ppapi |
| 195 | 200 |
| 196 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ | 201 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ |
| OLD | NEW |