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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible); | 194 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible); |
195 | 195 |
196 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); | 196 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); |
197 double effectiveMediaVolume(HTMLMediaElement mediaElement); | 197 double effectiveMediaVolume(HTMLMediaElement mediaElement); |
198 | 198 |
199 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 199 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
200 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); | 200 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); |
201 | 201 |
202 TypeConversions typeConversions(); | 202 TypeConversions typeConversions(); |
203 | 203 |
204 // This is enabled only in Debug builds. | 204 // These are enabled only in Debug builds. |
205 // This is because we want to avoid putting the byte stream of testing priva te scripts | 205 // This is because we want to avoid putting the byte stream of testing priva te scripts |
206 // into the binary of Release builds. | 206 // into the binary of Release builds. |
207 PrivateScriptTest privateScriptTest(); | 207 PrivateScriptTest privateScriptTest(); |
208 DictionaryTest dictionaryTest(); | |
haraken
2014/08/26 04:00:40
I don't quite understand why this needs to be Debu
bashi
2014/08/27 05:06:32
I just followed what privateScriptTest() is doing.
| |
208 | 209 |
209 DOMString[] getReferencedFilePaths(); | 210 DOMString[] getReferencedFilePaths(); |
210 | 211 |
211 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order: | 212 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order: |
212 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. | 213 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. |
213 [RaisesException, TypeChecking=Interface] void startTrackingRepaints(Documen t document); | 214 [RaisesException, TypeChecking=Interface] void startTrackingRepaints(Documen t document); |
214 [RaisesException, TypeChecking=Interface] void stopTrackingRepaints(Document document); | 215 [RaisesException, TypeChecking=Interface] void stopTrackingRepaints(Document document); |
215 | 216 |
216 // |node| should be Document, HTMLIFrameElement, or unspecified. | 217 // |node| should be Document, HTMLIFrameElement, or unspecified. |
217 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is | 218 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
271 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 272 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
272 | 273 |
273 // This function is for testing HitRegions on Canvas2D. | 274 // This function is for testing HitRegions on Canvas2D. |
274 unsigned long countHitRegions(CanvasRenderingContext2D context); | 275 unsigned long countHitRegions(CanvasRenderingContext2D context); |
275 | 276 |
276 DOMString serializeNavigationMarkup(); | 277 DOMString serializeNavigationMarkup(); |
277 void hideAllTransitionElements(); | 278 void hideAllTransitionElements(); |
278 | 279 |
279 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString htmlSource); | 280 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString htmlSource); |
280 }; | 281 }; |
OLD | NEW |