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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 DOMString effectivePreload(HTMLMediaElement mediaElement); | 224 DOMString effectivePreload(HTMLMediaElement mediaElement); |
225 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); | 225 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement
, boolean available); |
226 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea
n remote); | 226 void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolea
n remote); |
227 | 227 |
228 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); | 228 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); |
229 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq
uence<DOMString> policyAreas); | 229 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme, seq
uence<DOMString> policyAreas); |
230 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); | 230 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch
eme); |
231 | 231 |
232 TypeConversions typeConversions(); | 232 TypeConversions typeConversions(); |
233 | 233 |
234 // This is enabled only in Debug builds. | |
235 // This is because we want to avoid putting the byte stream of testing priva
te scripts | |
236 // into the binary of Release builds. | |
237 PrivateScriptTest privateScriptTest(); | |
238 | |
239 sequence<DOMString> getReferencedFilePaths(); | 234 sequence<DOMString> getReferencedFilePaths(); |
240 | 235 |
241 // These functions both reset the tracked repaint rects. They are intended t
o be used in the following order: | 236 // These functions both reset the tracked repaint rects. They are intended t
o be used in the following order: |
242 // startTrackingRepaints(), repaintRectsAsText(), stopTrackingRepaints(). | 237 // startTrackingRepaints(), repaintRectsAsText(), stopTrackingRepaints(). |
243 [RaisesException] void startTrackingRepaints(Document document); | 238 [RaisesException] void startTrackingRepaints(Document document); |
244 [RaisesException] void stopTrackingRepaints(Document document); | 239 [RaisesException] void stopTrackingRepaints(Document document); |
245 | 240 |
246 // |node| should be Document, HTMLIFrameElement, or unspecified. | 241 // |node| should be Document, HTMLIFrameElement, or unspecified. |
247 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is | 242 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is |
248 // specified without security checks. Unspecified means this document. | 243 // specified without security checks. Unspecified means this document. |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 DOMString getProgrammaticScrollAnimationState(Node node); | 350 DOMString getProgrammaticScrollAnimationState(Node node); |
356 | 351 |
357 ClientRect visualRect(Node node); | 352 ClientRect visualRect(Node node); |
358 | 353 |
359 OriginTrialsTest originTrialsTest(); | 354 OriginTrialsTest originTrialsTest(); |
360 | 355 |
361 void crash(); | 356 void crash(); |
362 | 357 |
363 void setIsLowEndDevice(boolean isLowEndDevice); | 358 void setIsLowEndDevice(boolean isLowEndDevice); |
364 }; | 359 }; |
OLD | NEW |