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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 271 |
272 boolean loseSharedGraphicsContext3D(); | 272 boolean loseSharedGraphicsContext3D(); |
273 | 273 |
274 [RaisesException] void forceCompositingUpdate(Document document); | 274 [RaisesException] void forceCompositingUpdate(Document document); |
275 [RaisesException] boolean isCompositorFramePending(Document document); | 275 [RaisesException] boolean isCompositorFramePending(Document document); |
276 | 276 |
277 void setZoomFactor(float factor); | 277 void setZoomFactor(float factor); |
278 | 278 |
279 [RaisesException] void setShouldRevealPassword(Element element, boolean reve
al); | 279 [RaisesException] void setShouldRevealPassword(Element element, boolean reve
al); |
280 | 280 |
| 281 [CallWith=ExecutionContext] Promise createPromise(); |
| 282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); |
| 283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); |
281 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); | 284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); |
282 | 285 |
283 void startSpeechInput(Element element); | 286 void startSpeechInput(Element element); |
284 void setValueForUser(Element element, DOMString value); | 287 void setValueForUser(Element element, DOMString value); |
285 | 288 |
286 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); |
287 }; | 290 }; |
OLD | NEW |