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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time | 77 // Modifies m_desiredFrameStartTime in BitmapImage to advance the next frame
time |
78 // for testing whether animated images work properly. | 78 // for testing whether animated images work properly. |
79 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); | 79 [RaisesException] void advanceTimeForImage(Element image, double deltaTimeIn
Seconds); |
80 | 80 |
81 // Advances an animated image. For BitmapImage (e.g., animated gifs) this | 81 // Advances an animated image. For BitmapImage (e.g., animated gifs) this |
82 // will advance to the next frame. For SVGImage, this will trigger an | 82 // will advance to the next frame. For SVGImage, this will trigger an |
83 // animation update for CSS and advance the SMIL timeline by one frame. | 83 // animation update for CSS and advance the SMIL timeline by one frame. |
84 [RaisesException] void advanceImageAnimation(Element image); | 84 [RaisesException] void advanceImageAnimation(Element image); |
85 | 85 |
86 [RaisesException] Node nextSiblingInComposedTree(Node node); | 86 [RaisesException] Node nextSiblingInFlatTree(Node node); |
87 [RaisesException] Node firstChildInComposedTree(Node node); | 87 [RaisesException] Node firstChildInFlatTree(Node node); |
88 [RaisesException] Node lastChildInComposedTree(Node node); | 88 [RaisesException] Node lastChildInFlatTree(Node node); |
89 [RaisesException] Node nextInComposedTree(Node node); | 89 [RaisesException] Node nextInFlatTree(Node node); |
90 [RaisesException] Node previousInComposedTree(Node node); | 90 [RaisesException] Node previousInFlatTree(Node node); |
91 | 91 |
92 DOMString visiblePlaceholder(Element element); | 92 DOMString visiblePlaceholder(Element element); |
93 | 93 |
94 void selectColorInColorChooser(Element element, DOMString colorValue); | 94 void selectColorInColorChooser(Element element, DOMString colorValue); |
95 void endColorChooser(Element element); | 95 void endColorChooser(Element element); |
96 | 96 |
97 // If the argument is omitted, the top-level document is used. | 97 // If the argument is omitted, the top-level document is used. |
98 boolean hasAutofocusRequest(optional Document document); | 98 boolean hasAutofocusRequest(optional Document document); |
99 [RaisesException] DOMString[] formControlStateOfHistoryItem(); | 99 [RaisesException] DOMString[] formControlStateOfHistoryItem(); |
100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); | 100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 void forceRestrictIFramePermissions(); | 352 void forceRestrictIFramePermissions(); |
353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); | 353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor
mTime); |
354 | 354 |
355 void setMediaElementNetworkState(HTMLMediaElement element, long state); | 355 void setMediaElementNetworkState(HTMLMediaElement element, long state); |
356 | 356 |
357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 357 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); | 358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); |
359 | 359 |
360 int getScrollAnimationState(Node node); | 360 int getScrollAnimationState(Node node); |
361 }; | 361 }; |
OLD | NEW |