| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64; | 184 const unsigned short LAYER_TREE_INCLUDES_COMPOSITING_REASONS = 64; |
| 185 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 185 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
| 186 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 186 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
| 187 | 187 |
| 188 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); | 188 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
| 189 | 189 |
| 190 DOMString scrollingStateTreeAsText(Document document); | 190 DOMString scrollingStateTreeAsText(Document document); |
| 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
| 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
| 193 | 193 |
| 194 void garbageCollectDocumentResources(Document document); | |
| 195 void evictAllResources(); | 194 void evictAllResources(); |
| 196 | 195 |
| 197 unsigned long numberOfLiveNodes(); | 196 unsigned long numberOfLiveNodes(); |
| 198 unsigned long numberOfLiveDocuments(); | 197 unsigned long numberOfLiveDocuments(); |
| 199 DOMString dumpRefCountedInstanceCounts(); | 198 DOMString dumpRefCountedInstanceCounts(); |
| 200 sequence<DOMString> consoleMessageArgumentCounts(Document document); | 199 sequence<DOMString> consoleMessageArgumentCounts(Document document); |
| 201 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne
d long maxDeadBytes, unsigned long totalBytes); | 200 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne
d long maxDeadBytes, unsigned long totalBytes); |
| 202 | 201 |
| 203 DOMString counterValue(Element element); | 202 DOMString counterValue(Element element); |
| 204 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); | 203 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 351 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
| 353 | 352 |
| 354 void forceRestrictIFramePermissions(); | 353 void forceRestrictIFramePermissions(); |
| 355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
| 356 | 355 |
| 357 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 356 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 358 | 357 |
| 359 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 361 }; | 360 }; |
| OLD | NEW |