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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); | 189 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); |
190 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 190 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
191 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 191 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
192 | 192 |
193 [RaisesException] void setDeviceScaleFactor(float scaleFactor); | 193 [RaisesException] void setDeviceScaleFactor(float scaleFactor); |
194 | 194 |
195 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d
ocument, boolean isVisible); | 195 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d
ocument, boolean isVisible); |
196 | 196 |
197 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); | 197 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); |
198 double effectiveMediaVolume(HTMLMediaElement mediaElement); | 198 double effectiveMediaVolume(HTMLMediaElement mediaElement); |
| 199 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); |
199 | 200 |
200 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 201 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
201 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 202 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
202 | 203 |
203 TypeConversions typeConversions(); | 204 TypeConversions typeConversions(); |
204 | 205 |
205 // This is enabled only in Debug builds. | 206 // This is enabled only in Debug builds. |
206 // This is because we want to avoid putting the byte stream of testing priva
te scripts | 207 // This is because we want to avoid putting the byte stream of testing priva
te scripts |
207 // into the binary of Release builds. | 208 // into the binary of Release builds. |
208 PrivateScriptTest privateScriptTest(); | 209 PrivateScriptTest privateScriptTest(); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // This function is for testing HitRegions on Canvas2D. | 275 // This function is for testing HitRegions on Canvas2D. |
275 unsigned long countHitRegions(CanvasRenderingContext2D context); | 276 unsigned long countHitRegions(CanvasRenderingContext2D context); |
276 | 277 |
277 DOMString serializeNavigationMarkup(); | 278 DOMString serializeNavigationMarkup(); |
278 void hideAllTransitionElements(); | 279 void hideAllTransitionElements(); |
279 | 280 |
280 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString
htmlSource); | 281 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString
htmlSource); |
281 | 282 |
282 DictionaryTest dictionaryTest(); | 283 DictionaryTest dictionaryTest(); |
283 }; | 284 }; |
OLD | NEW |