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 | 5 |
6 /** | 6 /** |
7 * This file contains the <code>PPB_Flash</code> interface. | 7 * This file contains the <code>PPB_Flash</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
11 M17 = 12.0, | |
12 M19 = 12.1, | |
13 M20_0 = 12.2, | |
14 M20_1 = 12.3, | |
15 M21 = 12.4, | 11 M21 = 12.4, |
16 M22 = 12.5, | 12 M22 = 12.5, |
17 M24 = 12.6 | 13 M24_0 = 12.6, |
| 14 M24_1 = 13.0 |
18 }; | 15 }; |
19 | 16 |
20 [assert_size(4)] | 17 [assert_size(4)] |
21 enum PP_FlashLSORestrictions { | 18 enum PP_FlashLSORestrictions { |
22 /** | 19 /** |
23 * No restrictions on Flash LSOs. | 20 * No restrictions on Flash LSOs. |
24 */ | 21 */ |
25 PP_FLASHLSORESTRICTIONS_NONE = 1, | 22 PP_FLASHLSORESTRICTIONS_NONE = 1, |
26 | 23 |
27 /** | 24 /** |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 /** | 144 /** |
148 * Navigate to the URL given by the given URLRequestInfo. (This supports GETs, | 145 * Navigate to the URL given by the given URLRequestInfo. (This supports GETs, |
149 * POSTs, and javascript: URLs.) May open a new tab if target is not "_self". | 146 * POSTs, and javascript: URLs.) May open a new tab if target is not "_self". |
150 */ | 147 */ |
151 int32_t Navigate( | 148 int32_t Navigate( |
152 [in] PP_Resource request_info, | 149 [in] PP_Resource request_info, |
153 [in] str_t target, | 150 [in] str_t target, |
154 [in] PP_Bool from_user_action); | 151 [in] PP_Bool from_user_action); |
155 | 152 |
156 /** | 153 /** |
157 * Runs a nested message loop. The plugin will be reentered from this call. | 154 * Deprecated. Does nothing. Use PPB_Flash_MessageLoop. |
158 * This function is used in places where Flash would normally enter a nested | |
159 * message loop (e.g., when displaying context menus), but Pepper provides | |
160 * only an asynchronous call. After performing that asynchronous call, call | |
161 * |RunMessageLoop()|. In the callback, call |QuitMessageLoop()|. | |
162 */ | 155 */ |
| 156 [deprecate=13.0] |
163 void RunMessageLoop( | 157 void RunMessageLoop( |
164 [in] PP_Instance instance); | 158 [in] PP_Instance instance); |
165 | 159 |
166 /* Posts a quit message for the outermost nested message loop. Use this to | 160 /** |
167 * exit and return back to the caller after you call RunMessageLoop. | 161 * Deprecated. Does nothing. Use PPB_Flash_MessageLoop. |
168 */ | 162 */ |
| 163 [deprecate=13.0] |
169 void QuitMessageLoop( | 164 void QuitMessageLoop( |
170 [in] PP_Instance instance); | 165 [in] PP_Instance instance); |
171 | 166 |
172 /** | 167 /** |
173 * Retrieves the local time zone offset from GM time for the given UTC time. | 168 * Retrieves the local time zone offset from GM time for the given UTC time. |
174 */ | 169 */ |
175 double_t GetLocalTimeZoneOffset( | 170 double_t GetLocalTimeZoneOffset( |
176 [in] PP_Instance instance, | 171 [in] PP_Instance instance, |
177 [in] PP_Time t); | 172 [in] PP_Time t); |
178 | 173 |
(...skipping 13 matching lines...) Expand all Loading... |
192 * | 187 * |
193 * On non-Windows platforms, this function does nothing. | 188 * On non-Windows platforms, this function does nothing. |
194 */ | 189 */ |
195 void PreloadFontWin( | 190 void PreloadFontWin( |
196 [in] mem_t logfontw); | 191 [in] mem_t logfontw); |
197 | 192 |
198 /** | 193 /** |
199 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above | 194 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above |
200 * all other web content. | 195 * all other web content. |
201 */ | 196 */ |
202 [version=12.1] | |
203 PP_Bool IsRectTopmost( | 197 PP_Bool IsRectTopmost( |
204 [in] PP_Instance instance, | 198 [in] PP_Instance instance, |
205 [in] PP_Rect rect); | 199 [in] PP_Rect rect); |
206 | 200 |
207 /** | 201 /** |
208 * Does nothing, deprecated. See PPB_Flash_Print. | 202 * Deprecated. Does nothing. Use PPB_Flash_Print. |
209 */ | 203 */ |
210 [version=12.1] | 204 [deprecate=13.0] |
211 int32_t InvokePrinting( | 205 int32_t InvokePrinting( |
212 [in] PP_Instance instance); | 206 [in] PP_Instance instance); |
213 | 207 |
214 /** | 208 /** |
215 * Indicates that there's activity and, e.g., the screensaver shouldn't kick | 209 * Indicates that there's activity and, e.g., the screensaver shouldn't kick |
216 * in. | 210 * in. |
217 */ | 211 */ |
218 [version=12.1] | |
219 void UpdateActivity( | 212 void UpdateActivity( |
220 [in] PP_Instance instance); | 213 [in] PP_Instance instance); |
221 | 214 |
222 /** | 215 /** |
223 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. | 216 * Deprecated. Does nothing. |
224 * Deprecated, use GetDeviceIDAsync. | |
225 */ | 217 */ |
226 [version=12.2] | 218 [deprecate=13.0] |
227 PP_Var GetDeviceID([in] PP_Instance instance); | 219 PP_Var GetDeviceID([in] PP_Instance instance); |
228 | 220 |
229 /** | 221 /** |
230 * Deprecated. See GetSetting(). | 222 * Deprecated. Does nothing. See GetSetting(). |
231 */ | 223 */ |
232 [version=12.3] | 224 [deprecate=13.0] |
233 int32_t GetSettingInt([in] PP_Instance instance, | 225 int32_t GetSettingInt([in] PP_Instance instance, |
234 [in] PP_FlashSetting setting); | 226 [in] PP_FlashSetting setting); |
235 | 227 |
236 /** | 228 /** |
237 * Returns the value associated with the given setting. Invalid enums will | 229 * Returns the value associated with the given setting. Invalid enums will |
238 * result in an undefined PP_Var return value. | 230 * result in an undefined PP_Var return value. |
239 */ | 231 */ |
240 [version=12.4] | |
241 PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting); | 232 PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting); |
242 | 233 |
243 /** | 234 /** |
244 * Allows setting breakpad crash data which will be included in plugin crash | 235 * Allows setting breakpad crash data which will be included in plugin crash |
245 * reports. Returns PP_FALSE if crash data could not be set. | 236 * reports. Returns PP_FALSE if crash data could not be set. |
246 */ | 237 */ |
247 [version=12.5] | 238 [version=12.5] |
248 PP_Bool SetCrashData([in] PP_Instance instance, | 239 PP_Bool SetCrashData([in] PP_Instance instance, |
249 [in] PP_FlashCrashKey key, | 240 [in] PP_FlashCrashKey key, |
250 [in] PP_Var value); | 241 [in] PP_Var value); |
(...skipping 10 matching lines...) Expand all Loading... |
261 * | 252 * |
262 * NOTE: This method is a synchronous version of |EnumerateDevices| in | 253 * NOTE: This method is a synchronous version of |EnumerateDevices| in |
263 * PPB_VideoCapture_Dev. | 254 * PPB_VideoCapture_Dev. |
264 */ | 255 */ |
265 [version=12.6] | 256 [version=12.6] |
266 int32_t EnumerateVideoCaptureDevices( | 257 int32_t EnumerateVideoCaptureDevices( |
267 [in] PP_Instance instance, | 258 [in] PP_Instance instance, |
268 [in] PP_Resource video_capture, | 259 [in] PP_Resource video_capture, |
269 [in] PP_ArrayOutput devices); | 260 [in] PP_ArrayOutput devices); |
270 }; | 261 }; |
OLD | NEW |