| 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[] shortcutIconURLs(Document document); | 198 DOMString[] shortcutIconURLs(Document document); |
| 199 DOMString[] allIconURLs(Document document); | 199 DOMString[] allIconURLs(Document document); |
| 200 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); | 200 long numberOfPages(optional double pageWidthInPixels, optional double pageHe
ightInPixels); |
| 201 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); | 201 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu
mber); |
| 202 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); | 202 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long
width, long height, long marginTop, long marginRight, long marginBottom, long ma
rginLeft); |
| 203 | 203 |
| 204 [RaisesException] void setDeviceScaleFactor(float scaleFactor); | 204 [RaisesException] void setDeviceScaleFactor(float scaleFactor); |
| 205 | 205 |
| 206 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); | 206 [RaisesException] void setIsCursorVisible(Document document, boolean isVisib
le); |
| 207 | 207 |
| 208 void webkitWillEnterFullScreenForElement(Document document, Element element)
; | |
| 209 void webkitDidEnterFullScreenForElement(Document document, Element element); | |
| 210 void webkitWillExitFullScreenForElement(Document document, Element element); | |
| 211 void webkitDidExitFullScreenForElement(Document document, Element element); | |
| 212 | |
| 213 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); | 208 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); |
| 214 | 209 |
| 215 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 210 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
| 216 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 211 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
| 217 | 212 |
| 218 MallocStatistics mallocStatistics(); | 213 MallocStatistics mallocStatistics(); |
| 219 TypeConversions typeConversions(); | 214 TypeConversions typeConversions(); |
| 220 | 215 |
| 221 // This is enabled only in Debug builds. | 216 // This is enabled only in Debug builds. |
| 222 // 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 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); | 275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); |
| 281 | 276 |
| 282 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 277 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
| 283 // before calling setNetworkConnectionInfo. | 278 // before calling setNetworkConnectionInfo. |
| 284 void setNetworkStateNotifierTestOnly(boolean testOnly); | 279 void setNetworkStateNotifierTestOnly(boolean testOnly); |
| 285 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 280 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
| 286 | 281 |
| 287 // This function is for testing HitRegions on Canvas2D. | 282 // This function is for testing HitRegions on Canvas2D. |
| 288 unsigned long countHitRegions(CanvasRenderingContext2D context); | 283 unsigned long countHitRegions(CanvasRenderingContext2D context); |
| 289 }; | 284 }; |
| OLD | NEW |