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 { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 /** | 162 /** |
163 * Indicates that there's activity and, e.g., the screensaver shouldn't kick | 163 * Indicates that there's activity and, e.g., the screensaver shouldn't kick |
164 * in. | 164 * in. |
165 */ | 165 */ |
166 [version=12.1] | 166 [version=12.1] |
167 void UpdateActivity( | 167 void UpdateActivity( |
168 [in] PP_Instance instance); | 168 [in] PP_Instance instance); |
169 | 169 |
170 /** | 170 /** |
171 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. | 171 * Returns the device ID as a string. Returns a PP_VARTYPE_UNDEFINED on error. |
172 * Deprecated, use GetDeviceIDAsync. | |
172 */ | 173 */ |
173 [version=12.2] | 174 [version=12.2] |
174 PP_Var GetDeviceID([in] PP_Instance instance); | 175 PP_Var GetDeviceID([in] PP_Instance instance); |
175 | 176 |
176 /** | 177 /** |
177 * Returns the value associated with the given setting. Invalid enums will | 178 * Returns the value associated with the given setting. Invalid enums will |
178 * result in -1 return value. | 179 * result in -1 return value. |
179 */ | 180 */ |
180 [version=12.3] | 181 [version=12.3] |
181 int32_t GetSettingInt(PP_Instance instance, PP_FlashSetting setting); | 182 int32_t GetSettingInt([in] PP_Instance instance, |
raymes
2012/06/08 16:49:19
Any reason for splitting this line?
| |
183 [in] PP_FlashSetting setting); | |
182 }; | 184 }; |
183 | 185 |
184 #inline c | 186 #inline c |
185 /** | 187 /** |
186 * The old version of the interface, which cannot be generated from IDL. | 188 * The old version of the interface, which cannot be generated from IDL. |
187 * TODO(viettrungluu): Remove this when enough time has passed. crbug.com/104184 | 189 * TODO(viettrungluu): Remove this when enough time has passed. crbug.com/104184 |
188 */ | 190 */ |
189 #define PPB_FLASH_INTERFACE_11_0 "PPB_Flash;11" | 191 #define PPB_FLASH_INTERFACE_11_0 "PPB_Flash;11" |
190 struct PPB_Flash_11 { | 192 struct PPB_Flash_11 { |
191 void (*SetInstanceAlwaysOnTop)(PP_Instance instance, PP_Bool on_top); | 193 void (*SetInstanceAlwaysOnTop)(PP_Instance instance, PP_Bool on_top); |
(...skipping 10 matching lines...) Expand all Loading... | |
202 struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url); | 204 struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url); |
203 int32_t (*Navigate)(PP_Resource request_info, | 205 int32_t (*Navigate)(PP_Resource request_info, |
204 const char* target, | 206 const char* target, |
205 bool from_user_action); | 207 bool from_user_action); |
206 void (*RunMessageLoop)(PP_Instance instance); | 208 void (*RunMessageLoop)(PP_Instance instance); |
207 void (*QuitMessageLoop)(PP_Instance instance); | 209 void (*QuitMessageLoop)(PP_Instance instance); |
208 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); | 210 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); |
209 struct PP_Var (*GetCommandLineArgs)(PP_Module module); | 211 struct PP_Var (*GetCommandLineArgs)(PP_Module module); |
210 }; | 212 }; |
211 #endinl | 213 #endinl |
OLD | NEW |