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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 DOMString scrollingStateTreeAsText(Document document); | 193 DOMString scrollingStateTreeAsText(Document document); |
194 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 194 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
195 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 195 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
196 | 196 |
197 void evictAllResources(); | 197 void evictAllResources(); |
198 | 198 |
199 unsigned long numberOfLiveNodes(); | 199 unsigned long numberOfLiveNodes(); |
200 unsigned long numberOfLiveDocuments(); | 200 unsigned long numberOfLiveDocuments(); |
201 DOMString dumpRefCountedInstanceCounts(); | 201 DOMString dumpRefCountedInstanceCounts(); |
202 unsigned long numberOfConsoleMessages(Document document); | |
203 unsigned long numberOfConsoleMessagesWithArguments(Document document); | |
204 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne
d long maxDeadBytes, unsigned long totalBytes); | 202 unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigne
d long maxDeadBytes, unsigned long totalBytes); |
205 | 203 |
206 DOMString counterValue(Element element); | 204 DOMString counterValue(Element element); |
207 [RaisesException] long pageNumber(Element element, optional float pageWidth
= 800, optional float pageHeight = 600); | 205 [RaisesException] long pageNumber(Element element, optional float pageWidth
= 800, optional float pageHeight = 600); |
208 DOMString[] shortcutIconURLs(Document document); | 206 DOMString[] shortcutIconURLs(Document document); |
209 DOMString[] allIconURLs(Document document); | 207 DOMString[] allIconURLs(Document document); |
210 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800
, optional double pageHeightInPixels = 600); | 208 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800
, optional double pageHeightInPixels = 600); |
211 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 209 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
212 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 210 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
213 | 211 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 | 344 |
347 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 345 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
348 | 346 |
349 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 347 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
350 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 348 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
351 | 349 |
352 DOMString getScrollAnimationState(Node node); | 350 DOMString getScrollAnimationState(Node node); |
353 | 351 |
354 DOMString getProgrammaticScrollAnimationState(Node node); | 352 DOMString getProgrammaticScrollAnimationState(Node node); |
355 }; | 353 }; |
OLD | NEW |