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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 DOMString[] allIconURLs(Document document); | 198 DOMString[] allIconURLs(Document document); |
199 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); | 199 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); |
200 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 200 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
201 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 201 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
202 | 202 |
203 [RaisesException] void setDeviceScaleFactor(float scaleFactor); | 203 [RaisesException] void setDeviceScaleFactor(float scaleFactor); |
204 | 204 |
205 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); | 205 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); |
206 | 206 |
207 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); | 207 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); |
| 208 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); |
208 | 209 |
209 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 210 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
210 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 211 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
211 | 212 |
212 MallocStatistics mallocStatistics(); | 213 MallocStatistics mallocStatistics(); |
213 TypeConversions typeConversions(); | 214 TypeConversions typeConversions(); |
214 | 215 |
215 // This is enabled only in Debug builds. | 216 // This is enabled only in Debug builds. |
216 // This is because we want to avoid putting the byte stream of testing priva
te scripts | 217 // This is because we want to avoid putting the byte stream of testing priva
te scripts |
217 // into the binary of Release builds. | 218 // into the binary of Release builds. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 279 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
279 // before calling setNetworkConnectionInfo. | 280 // before calling setNetworkConnectionInfo. |
280 void setNetworkStateNotifierTestOnly(boolean testOnly); | 281 void setNetworkStateNotifierTestOnly(boolean testOnly); |
281 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 282 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
282 | 283 |
283 // This function is for testing HitRegions on Canvas2D. | 284 // This function is for testing HitRegions on Canvas2D. |
284 unsigned long countHitRegions(CanvasRenderingContext2D context); | 285 unsigned long countHitRegions(CanvasRenderingContext2D context); |
285 | 286 |
286 DOMString serializeNavigationMarkup(Document document); | 287 DOMString serializeNavigationMarkup(Document document); |
287 }; | 288 }; |
OLD | NEW |