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