OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 [CallWith=ExecutionContext] Promise createPromise(); | 281 [CallWith=ExecutionContext] Promise createPromise(); |
282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); | 282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); |
283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); | 283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); |
284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); | 284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); |
285 | 285 |
286 void startSpeechInput(Element element); | 286 void startSpeechInput(Element element); |
287 void setValueForUser(Element element, DOMString value); | 287 void setValueForUser(Element element, DOMString value); |
288 | 288 |
289 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 289 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
| 290 |
| 291 // Overrides the properties of window.screen using values in the given dicti
onary. |
| 292 void setOverrideScreenData(Dictionary overrideData); |
290 }; | 293 }; |
OLD | NEW |