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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual double GetLocalTimeZoneOffset(PP_Instance instance, | 51 virtual double GetLocalTimeZoneOffset(PP_Instance instance, |
52 PP_Time t) OVERRIDE; | 52 PP_Time t) OVERRIDE; |
53 virtual PP_Bool IsRectTopmost(PP_Instance instance, | 53 virtual PP_Bool IsRectTopmost(PP_Instance instance, |
54 const PP_Rect* rect) OVERRIDE; | 54 const PP_Rect* rect) OVERRIDE; |
55 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; | 55 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; |
56 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE; | 56 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE; |
57 virtual int32_t GetSettingInt(PP_Instance instance, | 57 virtual int32_t GetSettingInt(PP_Instance instance, |
58 PP_FlashSetting setting) OVERRIDE; | 58 PP_FlashSetting setting) OVERRIDE; |
59 virtual PP_Var GetSetting(PP_Instance instance, | 59 virtual PP_Var GetSetting(PP_Instance instance, |
60 PP_FlashSetting setting) OVERRIDE; | 60 PP_FlashSetting setting) OVERRIDE; |
| 61 virtual PP_Bool SetCrashData(PP_Instance instance, |
| 62 PP_FlashCrashKey key, |
| 63 PP_Var value) OVERRIDE; |
61 virtual PP_Bool IsClipboardFormatAvailable( | 64 virtual PP_Bool IsClipboardFormatAvailable( |
62 PP_Instance instance, | 65 PP_Instance instance, |
63 PP_Flash_Clipboard_Type clipboard_type, | 66 PP_Flash_Clipboard_Type clipboard_type, |
64 PP_Flash_Clipboard_Format format) OVERRIDE; | 67 PP_Flash_Clipboard_Format format) OVERRIDE; |
65 virtual PP_Var ReadClipboardData(PP_Instance instance, | 68 virtual PP_Var ReadClipboardData(PP_Instance instance, |
66 PP_Flash_Clipboard_Type clipboard_type, | 69 PP_Flash_Clipboard_Type clipboard_type, |
67 PP_Flash_Clipboard_Format format) OVERRIDE; | 70 PP_Flash_Clipboard_Format format) OVERRIDE; |
68 virtual int32_t WriteClipboardData(PP_Instance instance, | 71 virtual int32_t WriteClipboardData(PP_Instance instance, |
69 PP_Flash_Clipboard_Type clipboard_type, | 72 PP_Flash_Clipboard_Type clipboard_type, |
70 uint32_t data_item_count, | 73 uint32_t data_item_count, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // This object is lazily created by InitClipboard. | 121 // This object is lazily created by InitClipboard. |
119 scoped_ptr<webkit_glue::ClipboardClient> clipboard_client_; | 122 scoped_ptr<webkit_glue::ClipboardClient> clipboard_client_; |
120 | 123 |
121 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); | 124 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); |
122 }; | 125 }; |
123 | 126 |
124 } // namespace ppapi | 127 } // namespace ppapi |
125 } // namespace webkit | 128 } // namespace webkit |
126 | 129 |
127 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ | 130 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ |
OLD | NEW |