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] 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 | 208 |
209 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 209 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
210 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 210 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
211 | 211 |
212 MallocStatistics mallocStatistics(); | 212 MallocStatistics mallocStatistics(); |
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] void startTrackingRepaints(Document document); | 225 [RaisesException] void startTrackingRepaints(Document document); |
225 [RaisesException] void stopTrackingRepaints(Document document); | 226 [RaisesException] 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 49 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 |