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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 PP_Resource pp_image_data, | 28 PP_Resource pp_image_data, |
29 const PP_FontDescription_Dev* font_desc, | 29 const PP_FontDescription_Dev* font_desc, |
30 uint32_t color, | 30 uint32_t color, |
31 const PP_Point* position, | 31 const PP_Point* position, |
32 const PP_Rect* clip, | 32 const PP_Rect* clip, |
33 const float transformation[3][3], | 33 const float transformation[3][3], |
34 PP_Bool allow_subpixel_aa, | 34 PP_Bool allow_subpixel_aa, |
35 uint32_t glyph_count, | 35 uint32_t glyph_count, |
36 const uint16_t glyph_indices[], | 36 const uint16_t glyph_indices[], |
37 const PP_Point glyph_advances[]) OVERRIDE; | 37 const PP_Point glyph_advances[]) OVERRIDE; |
38 virtual PP_Var GetProxyForURL(PP_Instance instance, const char* url) OVERRIDE; | |
39 virtual int32_t Navigate(PP_Instance instance, | 38 virtual int32_t Navigate(PP_Instance instance, |
40 PP_Resource request_info, | 39 PP_Resource request_info, |
41 const char* target, | 40 const char* target, |
42 PP_Bool from_user_action) OVERRIDE; | 41 PP_Bool from_user_action) OVERRIDE; |
43 virtual int32_t Navigate(PP_Instance instance, | 42 virtual int32_t Navigate(PP_Instance instance, |
44 const ::ppapi::URLRequestInfoData& data, | 43 const ::ppapi::URLRequestInfoData& data, |
45 const char* target, | 44 const char* target, |
46 PP_Bool from_user_action) OVERRIDE; | 45 PP_Bool from_user_action) OVERRIDE; |
47 virtual double GetLocalTimeZoneOffset(PP_Instance instance, | 46 virtual double GetLocalTimeZoneOffset(PP_Instance instance, |
48 PP_Time t) OVERRIDE; | 47 PP_Time t) OVERRIDE; |
49 virtual PP_Bool IsRectTopmost(PP_Instance instance, | 48 virtual PP_Bool IsRectTopmost(PP_Instance instance, |
50 const PP_Rect* rect) OVERRIDE; | 49 const PP_Rect* rect) OVERRIDE; |
51 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; | |
52 virtual PP_Var GetSetting(PP_Instance instance, | 50 virtual PP_Var GetSetting(PP_Instance instance, |
53 PP_FlashSetting setting) OVERRIDE; | 51 PP_FlashSetting setting) OVERRIDE; |
54 virtual PP_Bool SetCrashData(PP_Instance instance, | |
55 PP_FlashCrashKey key, | |
56 PP_Var value) OVERRIDE; | |
57 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 52 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
58 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 53 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
59 virtual int32_t OpenFile(PP_Instance instance, | 54 virtual int32_t OpenFile(PP_Instance instance, |
60 const char* path, | 55 const char* path, |
61 int32_t mode, | 56 int32_t mode, |
62 PP_FileHandle* file) OVERRIDE; | 57 PP_FileHandle* file) OVERRIDE; |
63 virtual int32_t RenameFile(PP_Instance instance, | 58 virtual int32_t RenameFile(PP_Instance instance, |
64 const char* path_from, | 59 const char* path_from, |
65 const char* path_to) OVERRIDE; | 60 const char* path_to) OVERRIDE; |
66 virtual int32_t DeleteFileOrDir(PP_Instance instance, | 61 virtual int32_t DeleteFileOrDir(PP_Instance instance, |
(...skipping 19 matching lines...) Expand all Loading... |
86 private: | 81 private: |
87 PluginInstance* instance_; | 82 PluginInstance* instance_; |
88 | 83 |
89 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); | 84 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); |
90 }; | 85 }; |
91 | 86 |
92 } // namespace ppapi | 87 } // namespace ppapi |
93 } // namespace webkit | 88 } // namespace webkit |
94 | 89 |
95 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ | 90 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ |
OLD | NEW |