| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 // before calling setNetworkConnectionInfo. | 312 // before calling setNetworkConnectionInfo. |
| 313 void setNetworkStateNotifierTestOnly(boolean testOnly); | 313 void setNetworkStateNotifierTestOnly(boolean testOnly); |
| 314 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl
inkMaxMbps); | 314 [RaisesException] void setNetworkConnectionInfo(DOMString type, double downl
inkMaxMbps); |
| 315 | 315 |
| 316 // This function is for testing HitRegions on Canvas2D. | 316 // This function is for testing HitRegions on Canvas2D. |
| 317 unsigned long countHitRegions(CanvasRenderingContext2D context); | 317 unsigned long countHitRegions(CanvasRenderingContext2D context); |
| 318 | 318 |
| 319 boolean isInCanvasFontCache(Document document, DOMString fontString); | 319 boolean isInCanvasFontCache(Document document, DOMString fontString); |
| 320 unsigned long canvasFontCacheMaxFonts(); | 320 unsigned long canvasFontCacheMaxFonts(); |
| 321 | 321 |
| 322 ClientRect boundsInViewportSpace(Element element); | |
| 323 | |
| 324 DictionaryTest dictionaryTest(); | 322 DictionaryTest dictionaryTest(); |
| 325 UnionTypesTest unionTypesTest(); | 323 UnionTypesTest unionTypesTest(); |
| 326 [RaisesException] void setScrollChain(ScrollState scrollState, Element[] ele
ments); | 324 [RaisesException] void setScrollChain(ScrollState scrollState, Element[] ele
ments); |
| 327 void forceBlinkGCWithoutV8GC(); | 325 void forceBlinkGCWithoutV8GC(); |
| 328 | 326 |
| 329 DOMString selectedHTMLForClipboard(); | 327 DOMString selectedHTMLForClipboard(); |
| 330 DOMString selectedTextForClipboard(); | 328 DOMString selectedTextForClipboard(); |
| 331 | 329 |
| 332 void setVisualViewportOffset(long x, long y); | 330 void setVisualViewportOffset(long x, long y); |
| 333 int visualViewportHeight(); | 331 int visualViewportHeight(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 354 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 352 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
| 355 | 353 |
| 356 void forceRestrictIFramePermissions(); | 354 void forceRestrictIFramePermissions(); |
| 357 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
| 358 | 356 |
| 359 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 357 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 360 | 358 |
| 361 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 359 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 362 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 363 }; | 361 }; |
| OLD | NEW |