| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800
, optional double pageHeightInPixels = 600); | 207 [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800
, optional double pageHeightInPixels = 600); |
| 208 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 208 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
| 209 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 209 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
| 210 | 210 |
| 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); |
| 217 DOMString effectivePreload(HTMLMediaElement mediaElement); |
| 217 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); | 218 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); |
| 218 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea
n remote); | 219 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea
n remote); |
| 219 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all
ow); | 220 void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean all
ow); |
| 220 | 221 |
| 221 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 222 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
| 222 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq
uence<DOMString> policyAreas); | 223 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq
uence<DOMString> policyAreas); |
| 223 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 224 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
| 224 | 225 |
| 225 TypeConversions typeConversions(); | 226 TypeConversions typeConversions(); |
| 226 | 227 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 void forceRestrictIFramePermissions(); | 354 void forceRestrictIFramePermissions(); |
| 354 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 355 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
| 355 | 356 |
| 356 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 357 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
| 357 | 358 |
| 358 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 359 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
| 359 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 360 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
| 360 | 361 |
| 361 int getScrollAnimationState(Node node); | 362 int getScrollAnimationState(Node node); |
| 362 }; | 363 }; |
| OLD | NEW |