| 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_THUNK_PPB_FLASH_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FLASH_API_H_ |
| 6 #define PPAPI_THUNK_PPB_FLASH_API_H_ | 6 #define PPAPI_THUNK_PPB_FLASH_API_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/private/ppb_flash.h" | 8 #include "ppapi/c/private/ppb_flash.h" |
| 9 #include "ppapi/c/private/ppb_flash_clipboard.h" | 9 #include "ppapi/c/private/ppb_flash_clipboard.h" |
| 10 #include "ppapi/c/private/ppb_flash_file.h" | 10 #include "ppapi/c/private/ppb_flash_file.h" |
| 11 #include "ppapi/thunk/ppapi_thunk_export.h" | 11 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 12 | 12 |
| 13 namespace ppapi { | 13 namespace ppapi { |
| 14 | 14 |
| 15 struct URLRequestInfoData; | 15 struct URLRequestInfoData; |
| 16 | 16 |
| 17 namespace thunk { | 17 namespace thunk { |
| 18 | 18 |
| 19 /////////////////////////// WARNING:DEPRECTATED //////////////////////////////// |
| 20 // Please do not add any new functions to this API. They should be implemented |
| 21 // in the new-style resource proxy (see flash_functions_api.h and |
| 22 // flash_resource.h). |
| 23 // TODO(raymes): All of these functions should be moved to |
| 24 // flash_functions_api.h. |
| 25 //////////////////////////////////////////////////////////////////////////////// |
| 19 // This class collects all of the Flash interface-related APIs into one place. | 26 // This class collects all of the Flash interface-related APIs into one place. |
| 20 class PPAPI_THUNK_EXPORT PPB_Flash_API { | 27 class PPAPI_THUNK_EXPORT PPB_Flash_API { |
| 21 public: | 28 public: |
| 22 virtual ~PPB_Flash_API() {} | 29 virtual ~PPB_Flash_API() {} |
| 23 | 30 |
| 24 // Flash. | 31 // Flash. |
| 25 virtual void SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) = 0; | 32 virtual void SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) = 0; |
| 26 virtual PP_Bool DrawGlyphs(PP_Instance instance, | 33 virtual PP_Bool DrawGlyphs(PP_Instance instance, |
| 27 PP_Resource pp_image_data, | 34 PP_Resource pp_image_data, |
| 28 const PP_FontDescription_Dev* font_desc, | 35 const PP_FontDescription_Dev* font_desc, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 120 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
| 114 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 121 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 115 PP_Bool fullscreen) = 0; | 122 PP_Bool fullscreen) = 0; |
| 116 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 123 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 117 }; | 124 }; |
| 118 | 125 |
| 119 } // namespace thunk | 126 } // namespace thunk |
| 120 } // namespace ppapi | 127 } // namespace ppapi |
| 121 | 128 |
| 122 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ | 129 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ |
| OLD | NEW |