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 26 matching lines...) Expand all Loading... |
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; | 38 virtual PP_Var GetProxyForURL(PP_Instance instance, const char* url) OVERRIDE; |
39 virtual int32_t Navigate(PP_Instance instance, | 39 virtual int32_t Navigate(PP_Instance instance, |
40 PP_Resource request_info, | 40 PP_Resource request_info, |
41 const char* target, | 41 const char* target, |
42 PP_Bool from_user_action) OVERRIDE; | 42 PP_Bool from_user_action) OVERRIDE; |
43 virtual int32_t Navigate(PP_Instance instance, | 43 virtual int32_t Navigate(PP_Instance instance, |
44 const ::ppapi::URLRequestInfoData& data, | 44 const ::ppapi::URLRequestInfoData& data, |
45 const char* target, | 45 const char* target, |
46 PP_Bool from_user_action) OVERRIDE; | 46 PP_Bool from_user_action) OVERRIDE; |
47 virtual void RunMessageLoop(PP_Instance instance) OVERRIDE; | |
48 virtual void QuitMessageLoop(PP_Instance instance) OVERRIDE; | |
49 virtual double GetLocalTimeZoneOffset(PP_Instance instance, | 47 virtual double GetLocalTimeZoneOffset(PP_Instance instance, |
50 PP_Time t) OVERRIDE; | 48 PP_Time t) OVERRIDE; |
51 virtual PP_Bool IsRectTopmost(PP_Instance instance, | 49 virtual PP_Bool IsRectTopmost(PP_Instance instance, |
52 const PP_Rect* rect) OVERRIDE; | 50 const PP_Rect* rect) OVERRIDE; |
53 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; | 51 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; |
54 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE; | |
55 virtual int32_t GetSettingInt(PP_Instance instance, | |
56 PP_FlashSetting setting) OVERRIDE; | |
57 virtual PP_Var GetSetting(PP_Instance instance, | 52 virtual PP_Var GetSetting(PP_Instance instance, |
58 PP_FlashSetting setting) OVERRIDE; | 53 PP_FlashSetting setting) OVERRIDE; |
59 virtual PP_Bool SetCrashData(PP_Instance instance, | 54 virtual PP_Bool SetCrashData(PP_Instance instance, |
60 PP_FlashCrashKey key, | 55 PP_FlashCrashKey key, |
61 PP_Var value) OVERRIDE; | 56 PP_Var value) OVERRIDE; |
62 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 57 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
63 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 58 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
64 virtual int32_t OpenFile(PP_Instance instance, | 59 virtual int32_t OpenFile(PP_Instance instance, |
65 const char* path, | 60 const char* path, |
66 int32_t mode, | 61 int32_t mode, |
(...skipping 29 matching lines...) Expand all Loading... |
96 private: | 91 private: |
97 PluginInstance* instance_; | 92 PluginInstance* instance_; |
98 | 93 |
99 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); | 94 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); |
100 }; | 95 }; |
101 | 96 |
102 } // namespace ppapi | 97 } // namespace ppapi |
103 } // namespace webkit | 98 } // namespace webkit |
104 | 99 |
105 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ | 100 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ |
OLD | NEW |