Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: core/testing/Internals.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « core/testing/InternalSettings.idl ('k') | core/testing/LayerRect.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 14 *
15 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 15 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
16 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 16 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 18 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 [ 27 [
28 DoNotCheckConstants, 28 DoNotCheckConstants,
29 WillBeGarbageCollected, 29 GarbageCollected,
30 Iterable,
30 ] interface Internals { 31 ] interface Internals {
31 DOMString address(Node node); 32 DOMString address(Node node);
32 33
33 GCObservation observeGC(any observed); 34 GCObservation observeGC(any observed);
34 35
35 [RaisesException, TypeChecking=Interface] DOMString elementRenderTreeAsText( Element element); 36 [RaisesException, TypeChecking=Interface] DOMString elementRenderTreeAsText( Element element);
36 boolean isPreloaded(DOMString url); 37 boolean isPreloaded(DOMString url);
37 boolean isLoadingFromMemoryCache(DOMString url); 38 boolean isLoadingFromMemoryCache(DOMString url);
38 39
39 void crash();
40
41 void setStyleResolverStatsEnabled(boolean enabled);
42 [RaisesException] DOMString styleResolverStatsReport();
43 [RaisesException] DOMString styleResolverStatsTotalsReport();
44
45 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el ement2); 40 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el ement2);
46 41
47 [TypeChecking=Interface] CSSStyleDeclaration computedStyleIncludingVisitedIn fo(Node node); 42 [TypeChecking=Interface] CSSStyleDeclaration computedStyleIncludingVisitedIn fo(Node node);
48 43
49 [TypeChecking=Interface] ShadowRoot shadowRoot(Element host); 44 [TypeChecking=Interface] ShadowRoot shadowRoot(Element host);
50 [TypeChecking=Interface] ShadowRoot youngestShadowRoot(Element host); 45 [TypeChecking=Interface] ShadowRoot youngestShadowRoot(Element host);
51 [TypeChecking=Interface] ShadowRoot oldestShadowRoot(Element host); 46 [TypeChecking=Interface] ShadowRoot oldestShadowRoot(Element host);
52 [RaisesException, TypeChecking=Interface] ShadowRoot youngerShadowRoot(Node root); 47 [RaisesException, TypeChecking=Interface] ShadowRoot youngerShadowRoot(Node root);
53 48
54 [RaisesException, TypeChecking=Interface] DOMString shadowRootType(Node root ); 49 [RaisesException, TypeChecking=Interface] DOMString shadowRootType(Node root );
55 [RaisesException] boolean hasShadowInsertionPoint(Node root); 50 [RaisesException] boolean hasShadowInsertionPoint(Node root);
56 [RaisesException] boolean hasContentElement(Node root); 51 [RaisesException] boolean hasContentElement(Node root);
57 [RaisesException, TypeChecking=Interface] unsigned long countElementShadow(N ode Root); 52 [RaisesException, TypeChecking=Interface] unsigned long countElementShadow(N ode Root);
58 [TypeChecking=Interface] DOMString shadowPseudoId(Element element); 53 [TypeChecking=Interface] DOMString shadowPseudoId(Element element);
59 [TypeChecking=Interface] void setShadowPseudoId(Element element, DOMString i d);
60 [RaisesException, TypeChecking=Interface] boolean isValidContentSelect(Eleme nt contentElement); 54 [RaisesException, TypeChecking=Interface] boolean isValidContentSelect(Eleme nt contentElement);
61 [TypeChecking=Interface] Node treeScopeRootNode(Node node); 55 [TypeChecking=Interface] Node treeScopeRootNode(Node node);
62 [TypeChecking=Interface] Node parentTreeScope(Node node); 56 [TypeChecking=Interface] Node parentTreeScope(Node node);
63 [RaisesException, TypeChecking=Interface] boolean hasSelectorForIdInShadow(E lement host, DOMString id); 57 [RaisesException, TypeChecking=Interface] boolean hasSelectorForIdInShadow(E lement host, DOMString id);
64 [RaisesException, TypeChecking=Interface] boolean hasSelectorForClassInShado w(Element host, DOMString className); 58 [RaisesException, TypeChecking=Interface] boolean hasSelectorForClassInShado w(Element host, DOMString className);
65 [RaisesException, TypeChecking=Interface] boolean hasSelectorForAttributeInS hadow(Element host, DOMString attributeName); 59 [RaisesException, TypeChecking=Interface] boolean hasSelectorForAttributeInS hadow(Element host, DOMString attributeName);
66 [RaisesException, TypeChecking=Interface] boolean hasSelectorForPseudoClassI nShadow(Element host, DOMString pseudoClass); 60 [RaisesException, TypeChecking=Interface] boolean hasSelectorForPseudoClassI nShadow(Element host, DOMString pseudoClass);
67 [RaisesException, TypeChecking=Interface] unsigned short compareTreeScopePos ition(Node treeScope1, Node treeScope2); 61 [RaisesException, TypeChecking=Interface] unsigned short compareTreeScopePos ition(Node treeScope1, Node treeScope2);
68 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount(); 62 [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount();
69 [RaisesException] unsigned long needsLayoutCount(); 63 [RaisesException] unsigned long needsLayoutCount();
70 [RaisesException] unsigned long hitTestCount(Document document); 64 [RaisesException] unsigned long hitTestCount(Document document);
71 65
72 // CSS Animation and Transition testing. 66 // CSS Animation and Transition testing.
73 [RaisesException] void pauseAnimations(double pauseTime); 67 [RaisesException] void pauseAnimations(double pauseTime);
74 68
75 [TypeChecking=Interface] Node nextSiblingByWalker(Node node); 69 [TypeChecking=Interface] Node nextSiblingByWalker(Node node);
76 [TypeChecking=Interface] Node firstChildByWalker(Node node); 70 [TypeChecking=Interface] Node firstChildByWalker(Node node);
77 [TypeChecking=Interface] Node lastChildByWalker(Node node); 71 [TypeChecking=Interface] Node lastChildByWalker(Node node);
78 [TypeChecking=Interface] Node nextNodeByWalker(Node node); 72 [TypeChecking=Interface] Node nextNodeByWalker(Node node);
79 [TypeChecking=Interface] Node previousNodeByWalker(Node node); 73 [TypeChecking=Interface] Node previousNodeByWalker(Node node);
80 74
81 DOMString visiblePlaceholder(Element element); 75 DOMString visiblePlaceholder(Element element);
82 76
83 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM String colorValue); 77 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM String colorValue);
78 [TypeChecking=Interface] void endColorChooser(Element element);
84 79
85 // If the argument is omitted, the top-level document is used. 80 // If the argument is omitted, the top-level document is used.
86 boolean hasAutofocusRequest(optional Document document); 81 boolean hasAutofocusRequest(optional Document document);
87 [RaisesException] DOMString[] formControlStateOfHistoryItem(); 82 [RaisesException] DOMString[] formControlStateOfHistoryItem();
88 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values); 83 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
89 [RaisesException] void setEnableMockPagePopup(boolean enabled); 84 [RaisesException] void setEnableMockPagePopup(boolean enabled);
90 readonly attribute PagePopupController pagePopupController; 85 readonly attribute PagePopupController pagePopupController;
91 86
92 [RaisesException] ClientRect unscaledViewportRect();
93
94 [RaisesException] ClientRect absoluteCaretBounds(); 87 [RaisesException] ClientRect absoluteCaretBounds();
95 88
96 [TypeChecking=Interface] ClientRect boundingBox(Element element); 89 [TypeChecking=Interface] ClientRect boundingBox(Element element);
97 90
98 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N ode node, DOMString markerType); 91 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N ode node, DOMString markerType);
99 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); 92 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node);
100 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node , DOMString markerType, unsigned long index); 93 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node , DOMString markerType, unsigned long index);
101 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode (Node node, DOMString markerType, unsigned long index); 94 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode (Node node, DOMString markerType, unsigned long index);
102 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi ve); 95 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi ve);
103 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star tOffset, unsigned long endOffset, boolean active); 96 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star tOffset, unsigned long endOffset, boolean active);
(...skipping 13 matching lines...) Expand all
117 [RaisesException, TypeChecking=Interface] void setEditingValue(Element input Element, DOMString value); 110 [RaisesException, TypeChecking=Interface] void setEditingValue(Element input Element, DOMString value);
118 [RaisesException, TypeChecking=Interface] void setAutofilled(Element inputEl ement, boolean enabled); 111 [RaisesException, TypeChecking=Interface] void setAutofilled(Element inputEl ement, boolean enabled);
119 112
120 [RaisesException, TypeChecking=Interface] void scrollElementToRect(Element e lement, long x, long y, long w, long h); 113 [RaisesException, TypeChecking=Interface] void scrollElementToRect(Element e lement, long x, long y, long w, long h);
121 114
122 [TypeChecking=Interface] Range rangeFromLocationAndLength(Element scope, lon g rangeLocation, long rangeLength); 115 [TypeChecking=Interface] Range rangeFromLocationAndLength(Element scope, lon g rangeLocation, long rangeLength);
123 [TypeChecking=Interface] unsigned long locationFromRange(Element scope, Rang e range); 116 [TypeChecking=Interface] unsigned long locationFromRange(Element scope, Rang e range);
124 [TypeChecking=Interface] unsigned long lengthFromRange(Element scope, Range range); 117 [TypeChecking=Interface] unsigned long lengthFromRange(Element scope, Range range);
125 [TypeChecking=Interface] DOMString rangeAsText(Range range); 118 [TypeChecking=Interface] DOMString rangeAsText(Range range);
126 119
127 [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedT oBestClickableNode(long x, long y, long width, long height, Document document); 120 [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBe stClickableNode(long x, long y, long width, long height, Document document);
128 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestClicka bleNode(long x, long y, long width, long height, Document document); 121 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestClicka bleNode(long x, long y, long width, long height, Document document);
129 [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedT oBestContextMenuNode(long x, long y, long width, long height, Document document) ; 122 [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBe stContextMenuNode(long x, long y, long width, long height, Document document);
130 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestContex tMenuNode(long x, long y, long width, long height, Document document); 123 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestContex tMenuNode(long x, long y, long width, long height, Document document);
131 [RaisesException, TypeChecking=Interface] ClientRect bestZoomableAreaForTouc hPoint(long x, long y, long width, long height, Document document); 124 [RaisesException, TypeChecking=Interface] ClientRect bestZoomableAreaForTouc hPoint(long x, long y, long width, long height, Document document);
132 125
133 [RaisesException] long lastSpellCheckRequestSequence(Document document); 126 [RaisesException] long lastSpellCheckRequestSequence(Document document);
134 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 127 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
135 128
136 sequence<DOMString> userPreferredLanguages(); 129 sequence<DOMString> userPreferredLanguages();
137 void setUserPreferredLanguages(sequence<DOMString> languages); 130 void setUserPreferredLanguages(sequence<DOMString> languages);
138 131
139 [TypeChecking=Interface] unsigned long activeDOMObjectCount(Document documen t); 132 [TypeChecking=Interface] unsigned long activeDOMObjectCount(Document documen t);
140 [TypeChecking=Interface] unsigned long wheelEventHandlerCount(Document docum ent); 133 [TypeChecking=Interface] unsigned long wheelEventHandlerCount(Document docum ent);
141 [TypeChecking=Interface] unsigned long scrollEventHandlerCount(Document docu ment); 134 [TypeChecking=Interface] unsigned long scrollEventHandlerCount(Document docu ment);
142 [TypeChecking=Interface] unsigned long touchEventHandlerCount(Document docum ent); 135 [TypeChecking=Interface] unsigned long touchEventHandlerCount(Document docum ent);
143 [RaisesException, TypeChecking=Interface] LayerRectList touchEventTargetLaye rRects(Document document); 136 [RaisesException, TypeChecking=Interface] LayerRectList touchEventTargetLaye rRects(Document document);
144 137
145 138
146 [RaisesException, TypeChecking=Interface] NodeList nodesFromRect(Document do cument, long x, long y, 139 [RaisesException, TypeChecking=Interface] NodeList nodesFromRect(Document do cument, long x, long y,
147 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding, 140 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding,
148 boolean ignoreClipping, boolean allowChildFrameContent); 141 boolean ignoreClipping, boolean allowChildFrameContent);
149 142
150 void emitInspectorDidBeginFrame(optional long frameId);
151 void emitInspectorDidCancelFrame();
152
153 [TypeChecking=Interface] boolean hasSpellingMarker(Document document, long f rom, long length); 143 [TypeChecking=Interface] boolean hasSpellingMarker(Document document, long f rom, long length);
154 [TypeChecking=Interface] boolean hasGrammarMarker(Document document, long fr om, long length); 144 [TypeChecking=Interface] boolean hasGrammarMarker(Document document, long fr om, long length);
155 void setContinuousSpellCheckingEnabled(boolean enabled); 145 void setContinuousSpellCheckingEnabled(boolean enabled);
156 146
157 [TypeChecking=Interface] boolean isOverwriteModeEnabled(Document document); 147 [TypeChecking=Interface] boolean isOverwriteModeEnabled(Document document);
158 [TypeChecking=Interface] void toggleOverwriteModeEnabled(Document document); 148 [TypeChecking=Interface] void toggleOverwriteModeEnabled(Document document);
159 149
160 [TypeChecking=Interface] unsigned long numberOfScrollableAreas(Document docu ment); 150 [TypeChecking=Interface] unsigned long numberOfScrollableAreas(Document docu ment);
161 151
162 [TypeChecking=Interface] boolean isPageBoxVisible(Document document, long pa geNumber); 152 [TypeChecking=Interface] boolean isPageBoxVisible(Document document, long pa geNumber);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 long numberOfPages(optional double pageWidthInPixels, optional double pageHe ightInPixels); 189 long numberOfPages(optional double pageWidthInPixels, optional double pageHe ightInPixels);
200 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber); 190 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber);
201 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft); 191 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft);
202 192
203 [RaisesException] void setDeviceScaleFactor(float scaleFactor); 193 [RaisesException] void setDeviceScaleFactor(float scaleFactor);
204 194
205 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible); 195 [RaisesException, TypeChecking=Interface] void setIsCursorVisible(Document d ocument, boolean isVisible);
206 196
207 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement); 197 void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement);
208 double effectiveMediaVolume(HTMLMediaElement mediaElement); 198 double effectiveMediaVolume(HTMLMediaElement mediaElement);
199 void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement , boolean available);
209 200
210 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); 201 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
211 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); 202 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme);
212 203
213 TypeConversions typeConversions(); 204 TypeConversions typeConversions();
214 205
215 // This is enabled only in Debug builds. 206 // This is enabled only in Debug builds.
216 // This is because we want to avoid putting the byte stream of testing priva te scripts 207 // This is because we want to avoid putting the byte stream of testing priva te scripts
217 // into the binary of Release builds. 208 // into the binary of Release builds.
218 PrivateScriptTest privateScriptTest(); 209 PrivateScriptTest privateScriptTest();
(...skipping 14 matching lines...) Expand all
233 224
234 // Returns a list of draggable/non-draggable regions in the document. 225 // Returns a list of draggable/non-draggable regions in the document.
235 [RaisesException, TypeChecking=Interface] ClientRectList draggableRegions(Do cument document); 226 [RaisesException, TypeChecking=Interface] ClientRectList draggableRegions(Do cument document);
236 [RaisesException, TypeChecking=Interface] ClientRectList nonDraggableRegions (Document document); 227 [RaisesException, TypeChecking=Interface] ClientRectList nonDraggableRegions (Document document);
237 228
238 // Returns a string with information about the mouse cursor used at the spec ified client location. 229 // Returns a string with information about the mouse cursor used at the spec ified client location.
239 [RaisesException, TypeChecking=Interface] DOMString getCurrentCursorInfo(Doc ument document); 230 [RaisesException, TypeChecking=Interface] DOMString getCurrentCursorInfo(Doc ument document);
240 231
241 [TypeChecking=Interface] DOMString markerTextForListItem(Element element); 232 [TypeChecking=Interface] DOMString markerTextForListItem(Element element);
242 233
243 [TypeChecking=Interface] DOMString baseURL(Document document);
244
245 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); 234 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer);
246 ArrayBuffer serializeObject(SerializedScriptValue obj); 235 ArrayBuffer serializeObject(SerializedScriptValue obj);
247 236
248 void forceReload(boolean endToEnd); 237 void forceReload(boolean endToEnd);
249 238
250 [TypeChecking=Interface] DOMString getImageSourceURL(Element element); 239 [TypeChecking=Interface] DOMString getImageSourceURL(Element element);
251 240
252 [TypeChecking=Interface] boolean isSelectPopupVisible(Node node); 241 [TypeChecking=Interface] boolean isSelectPopupVisible(Node node);
253 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex); 242 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex);
254 long selectPopupItemStyleFontHeight(Node select, long itemIndex); 243 long selectPopupItemStyleFontHeight(Node select, long itemIndex);
(...skipping 26 matching lines...) Expand all
281 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 270 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
282 // before calling setNetworkConnectionInfo. 271 // before calling setNetworkConnectionInfo.
283 void setNetworkStateNotifierTestOnly(boolean testOnly); 272 void setNetworkStateNotifierTestOnly(boolean testOnly);
284 [RaisesException] void setNetworkConnectionInfo(DOMString type); 273 [RaisesException] void setNetworkConnectionInfo(DOMString type);
285 274
286 // This function is for testing HitRegions on Canvas2D. 275 // This function is for testing HitRegions on Canvas2D.
287 unsigned long countHitRegions(CanvasRenderingContext2D context); 276 unsigned long countHitRegions(CanvasRenderingContext2D context);
288 277
289 DOMString serializeNavigationMarkup(); 278 DOMString serializeNavigationMarkup();
290 void hideAllTransitionElements(); 279 void hideAllTransitionElements();
280
281 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, DOMString htmlSource);
282 [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLEl ement plugin, Dictionary options);
283
284 DictionaryTest dictionaryTest();
291 }; 285 };
OLDNEW
« no previous file with comments | « core/testing/InternalSettings.idl ('k') | core/testing/LayerRect.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698