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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d
ocument, boolean isVisible); | 205 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d
ocument, boolean isVisible); |
206 | 206 |
207 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); | 207 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); |
208 double effectiveMediaVolume(HTMLMediaElement mediaElement); | 208 double effectiveMediaVolume(HTMLMediaElement mediaElement); |
209 | 209 |
210 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 210 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
211 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 211 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
212 | 212 |
213 TypeConversions typeConversions(); | 213 TypeConversions typeConversions(); |
214 | 214 |
215 // This is enabled only in Debug builds. | 215 // These are enabled only in Debug builds. |
216 // This is because we want to avoid putting the byte stream of testing priva
te scripts | 216 // This is because we want to avoid putting the byte stream of testing priva
te scripts |
217 // into the binary of Release builds. | 217 // into the binary of Release builds. |
218 PrivateScriptTest privateScriptTest(); | 218 PrivateScriptTest privateScriptTest(); |
| 219 DictionaryTest dictionaryTest(); |
219 | 220 |
220 DOMString[] getReferencedFilePaths(); | 221 DOMString[] getReferencedFilePaths(); |
221 | 222 |
222 // These functions both reset the tracked repaint rects. They are inteded to
be used in the following order: | 223 // These functions both reset the tracked repaint rects. They are inteded to
be used in the following order: |
223 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. | 224 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. |
224 [RaisesException, TypeChecking=Interface] void startTrackingRepaints(Documen
t document); | 225 [RaisesException, TypeChecking=Interface] void startTrackingRepaints(Documen
t document); |
225 [RaisesException, TypeChecking=Interface] void stopTrackingRepaints(Document
document); | 226 [RaisesException, TypeChecking=Interface] void stopTrackingRepaints(Document
document); |
226 | 227 |
227 // |node| should be Document, HTMLIFrameElement, or unspecified. | 228 // |node| should be Document, HTMLIFrameElement, or unspecified. |
228 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is | 229 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 282 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
282 // before calling setNetworkConnectionInfo. | 283 // before calling setNetworkConnectionInfo. |
283 void setNetworkStateNotifierTestOnly(boolean testOnly); | 284 void setNetworkStateNotifierTestOnly(boolean testOnly); |
284 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 285 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
285 | 286 |
286 // This function is for testing HitRegions on Canvas2D. | 287 // This function is for testing HitRegions on Canvas2D. |
287 unsigned long countHitRegions(CanvasRenderingContext2D context); | 288 unsigned long countHitRegions(CanvasRenderingContext2D context); |
288 | 289 |
289 DOMString serializeNavigationMarkup(Document document); | 290 DOMString serializeNavigationMarkup(Document document); |
290 }; | 291 }; |
OLD | NEW |