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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 boolean loseSharedGraphicsContext3D(); | 257 boolean loseSharedGraphicsContext3D(); |
258 | 258 |
259 [RaisesException] void forceCompositingUpdate(Document document); | 259 [RaisesException] void forceCompositingUpdate(Document document); |
260 | 260 |
261 void setZoomFactor(float factor); | 261 void setZoomFactor(float factor); |
262 | 262 |
263 [RaisesException] void setShouldRevealPassword(Element element, boolean reve
al); | 263 [RaisesException] void setShouldRevealPassword(Element element, boolean reve
al); |
264 | 264 |
265 [CallWith=ScriptState] Promise createResolvedPromise(any value); | 265 [CallWith=ScriptState] Promise createResolvedPromise(any value); |
266 [CallWith=ScriptState] Promise createRejectedPromise(any reason); | 266 [CallWith=ScriptState] Promise createRejectedPromise(any reason); |
267 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); | 267 [CallWith=ScriptState] Promise addOneToPromise(Promise promise); |
| 268 [CallWith=ScriptState, RaisesException] Promise promiseCheck(long arg1, bool
ean arg2, Dictionary arg3, DOMString arg4, DOMString[] arg5); |
| 269 [CallWith=ScriptState] Promise promiseCheckWithoutExceptionState(Dictionary
arg1, DOMString arg2, DOMString... variadic); |
| 270 [CallWith=ScriptState] Promise promiseCheckRange([EnforceRange] octet arg1); |
268 | 271 |
269 void setValueForUser(Element element, DOMString value); | 272 void setValueForUser(Element element, DOMString value); |
270 | 273 |
271 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 274 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
272 | 275 |
273 void setFocused(boolean focused); | 276 void setFocused(boolean focused); |
274 | 277 |
275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); | 278 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); |
276 | 279 |
277 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 280 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
278 // before calling setNetworkConnectionInfo. | 281 // before calling setNetworkConnectionInfo. |
279 void setNetworkStateNotifierTestOnly(boolean testOnly); | 282 void setNetworkStateNotifierTestOnly(boolean testOnly); |
280 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 283 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
281 | 284 |
282 // This function is for testing HitRegions on Canvas2D. | 285 // This function is for testing HitRegions on Canvas2D. |
283 unsigned long countHitRegions(CanvasRenderingContext2D context); | 286 unsigned long countHitRegions(CanvasRenderingContext2D context); |
284 | 287 |
285 DOMString serializeNavigationMarkup(Document document); | 288 DOMString serializeNavigationMarkup(Document document); |
286 }; | 289 }; |
OLD | NEW |