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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 void evictAllResources(); | 194 void evictAllResources(); |
195 | 195 |
196 unsigned long numberOfLiveNodes(); | 196 unsigned long numberOfLiveNodes(); |
197 unsigned long numberOfLiveDocuments(); | 197 unsigned long numberOfLiveDocuments(); |
198 DOMString dumpRefCountedInstanceCounts(); | 198 DOMString dumpRefCountedInstanceCounts(); |
199 sequence<DOMString> consoleMessageArgumentCounts(Document document); | 199 sequence<DOMString> consoleMessageArgumentCounts(Document document); |
200 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); |
201 | 201 |
202 DOMString counterValue(Element element); | 202 DOMString counterValue(Element element); |
203 long pageNumber(Element element, optional float pageWidth, optional float pa
geHeight); | 203 [RaisesException] long pageNumber(Element element, optional float pageWidth
= 800, optional float pageHeight = 600); |
204 DOMString[] shortcutIconURLs(Document document); | 204 DOMString[] shortcutIconURLs(Document document); |
205 DOMString[] allIconURLs(Document document); | 205 DOMString[] allIconURLs(Document document); |
206 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); | 206 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800
, optional double pageHeightInPixels = 600); |
207 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 207 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
208 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 208 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
209 | 209 |
210 [RaisesException] void setDeviceScaleFactor(float scaleFactor); | 210 [RaisesException] void setDeviceScaleFactor(float scaleFactor); |
211 [RaisesException] void setPageScaleFactor(float scaleFactor); | 211 [RaisesException] void setPageScaleFactor(float scaleFactor); |
212 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float
maxScaleFactor); | 212 [RaisesException] void setPageScaleFactorLimits(float minScaleFactor, float
maxScaleFactor); |
213 | 213 |
214 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); | 214 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); |
215 | 215 |
216 double effectiveMediaVolume(HTMLMediaElement mediaElement); | 216 double effectiveMediaVolume(HTMLMediaElement mediaElement); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); | 351 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); |
352 | 352 |
353 void forceRestrictIFramePermissions(); | 353 void forceRestrictIFramePermissions(); |
354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
355 | 355 |
356 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 356 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
357 | 357 |
358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
360 }; | 360 }; |
OLD | NEW |