| 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1); | 298 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1); |
| 299 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2
, long arg3); | 299 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2
, long arg3); |
| 300 | 300 |
| 301 void setValueForUser(Element element, DOMString value); | 301 void setValueForUser(Element element, DOMString value); |
| 302 | 302 |
| 303 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 303 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
| 304 | 304 |
| 305 void setFocused(boolean focused); | 305 void setFocused(boolean focused); |
| 306 void setInitialFocus(boolean reverse); | 306 void setInitialFocus(boolean reverse); |
| 307 | 307 |
| 308 void setSequentialFocusNavigationStartingPoint(Node node); |
| 309 |
| 308 boolean ignoreLayoutWithPendingStylesheets(Document document); | 310 boolean ignoreLayoutWithPendingStylesheets(Document document); |
| 309 | 311 |
| 310 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 312 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
| 311 // before calling setNetworkConnectionInfo. | 313 // before calling setNetworkConnectionInfo. |
| 312 void setNetworkStateNotifierTestOnly(boolean testOnly); | 314 void setNetworkStateNotifierTestOnly(boolean testOnly); |
| 313 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl
inkMaxMbps); | 315 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl
inkMaxMbps); |
| 314 | 316 |
| 315 // This function is for testing HitRegions on Canvas2D. | 317 // This function is for testing HitRegions on Canvas2D. |
| 316 unsigned long countHitRegions(CanvasRenderingContext2D context); | 318 unsigned long countHitRegions(CanvasRenderingContext2D context); |
| 317 | 319 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 | 356 |
| 355 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 357 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 356 | 358 |
| 357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 359 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 359 | 361 |
| 360 DOMString getScrollAnimationState(Node node); | 362 DOMString getScrollAnimationState(Node node); |
| 361 | 363 |
| 362 DOMString getProgrammaticScrollAnimationState(Node node); | 364 DOMString getProgrammaticScrollAnimationState(Node node); |
| 363 }; | 365 }; |
| OLD | NEW |