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

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

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 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/TypeConversions.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.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 [RaisesException] ShadowRoot shadowRoot(Element host); 44 [RaisesException] ShadowRoot shadowRoot(Element host);
45 [RaisesException] ShadowRoot youngestShadowRoot(Element host); 45 [RaisesException] ShadowRoot youngestShadowRoot(Element host);
46 [RaisesException] ShadowRoot oldestShadowRoot(Element host); 46 [RaisesException] ShadowRoot oldestShadowRoot(Element host);
47 [RaisesException] ShadowRoot youngerShadowRoot(Node root); 47 [RaisesException] ShadowRoot youngerShadowRoot(Node root);
48 [RaisesException] ShadowRoot olderShadowRoot(Node root); 48 [RaisesException] ShadowRoot olderShadowRoot(Node root);
49 49
50 [RaisesException] DOMString shadowRootType(Node root); 50 [RaisesException] DOMString shadowRootType(Node root);
51 [RaisesException] boolean hasShadowInsertionPoint(Node root); 51 [RaisesException] boolean hasShadowInsertionPoint(Node root);
52 [RaisesException] boolean hasContentElement(Node root); 52 [RaisesException] boolean hasContentElement(Node root);
53 [RaisesException] unsigned long countElementShadow(Node Root); 53 [RaisesException] unsigned long countElementShadow(Node Root);
54 [RaisesException] Element includerFor(Node node);
55 [RaisesException] DOMString shadowPseudoId(Element element); 54 [RaisesException] DOMString shadowPseudoId(Element element);
56 [RaisesException] void setShadowPseudoId(Element element, DOMString id); 55 [RaisesException] void setShadowPseudoId(Element element, DOMString id);
57 [RaisesException] Element createContentElement(); 56 [RaisesException] Element createContentElement();
58 [RaisesException] boolean isValidContentSelect(Element contentElement); 57 [RaisesException] boolean isValidContentSelect(Element contentElement);
59 [RaisesException] Node treeScopeRootNode(Node node); 58 [RaisesException] Node treeScopeRootNode(Node node);
60 [RaisesException] Node parentTreeScope(Node node); 59 [RaisesException] Node parentTreeScope(Node node);
61 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d); 60 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i d);
62 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className); 61 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin g className);
63 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName); 62 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS tring attributeName);
64 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO MString pseudoClass); 63 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO MString pseudoClass);
65 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N ode treeScope2); 64 [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, N ode treeScope2);
66 65
67 // CSS Animation and Transition testing. 66 // CSS Animation and Transition testing.
68 unsigned long numberOfActiveAnimations(); 67 unsigned long numberOfActiveAnimations();
69 [RaisesException] void suspendAnimations(Document document);
70 [RaisesException] void resumeAnimations(Document document);
71 [RaisesException] void pauseAnimations(double pauseTime); 68 [RaisesException] void pauseAnimations(double pauseTime);
72 69
73 [RaisesException] Node nextSiblingByWalker(Node node); 70 [RaisesException] Node nextSiblingByWalker(Node node);
74 [RaisesException] Node firstChildByWalker(Node node); 71 [RaisesException] Node firstChildByWalker(Node node);
75 [RaisesException] Node lastChildByWalker(Node node); 72 [RaisesException] Node lastChildByWalker(Node node);
76 [RaisesException] Node nextNodeByWalker(Node node); 73 [RaisesException] Node nextNodeByWalker(Node node);
77 [RaisesException] Node previousNodeByWalker(Node node); 74 [RaisesException] Node previousNodeByWalker(Node node);
78 75
79 [RaisesException] boolean attached(Node node);
80
81 DOMString visiblePlaceholder(Element element); 76 DOMString visiblePlaceholder(Element element);
82 77
83 void selectColorInColorChooser(Element element, DOMString colorValue); 78 void selectColorInColorChooser(Element element, DOMString colorValue);
84 79
85 [RaisesException] DOMString[] formControlStateOfPreviousHistoryItem(); 80 [RaisesException] DOMString[] formControlStateOfPreviousHistoryItem();
86 [RaisesException] void setFormControlStateOfPreviousHistoryItem(sequence<DOM String> values); 81 [RaisesException] void setFormControlStateOfPreviousHistoryItem(sequence<DOM String> values);
87 [RaisesException] void setEnableMockPagePopup(boolean enabled); 82 [RaisesException] void setEnableMockPagePopup(boolean enabled);
88 readonly attribute PagePopupController pagePopupController; 83 readonly attribute PagePopupController pagePopupController;
89 84
90 [RaisesException] ClientRect unscaledViewportRect(); 85 [RaisesException] ClientRect unscaledViewportRect();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 136
142 [RaisesException] unsigned long wheelEventHandlerCount(Document document); 137 [RaisesException] unsigned long wheelEventHandlerCount(Document document);
143 [RaisesException] unsigned long touchEventHandlerCount(Document document); 138 [RaisesException] unsigned long touchEventHandlerCount(Document document);
144 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document ); 139 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document );
145 140
146 141
147 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, 142 [RaisesException] NodeList nodesFromRect(Document document, long x, long y,
148 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding, 143 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding,
149 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent); 144 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent);
150 145
151 void emitInspectorDidBeginFrame(); 146 void emitInspectorDidBeginFrame(optional long frameId);
152 void emitInspectorDidCancelFrame(); 147 void emitInspectorDidCancelFrame();
153 148
154 [RaisesException] boolean hasSpellingMarker(Document document, long from, lo ng length); 149 [RaisesException] boolean hasSpellingMarker(Document document, long from, lo ng length);
155 [RaisesException] boolean hasGrammarMarker(Document document, long from, lon g length); 150 [RaisesException] boolean hasGrammarMarker(Document document, long from, lon g length);
156 [RaisesException] void setContinuousSpellCheckingEnabled(boolean enabled); 151 [RaisesException] void setContinuousSpellCheckingEnabled(boolean enabled);
157 152
158 [RaisesException] boolean isOverwriteModeEnabled(Document document); 153 [RaisesException] boolean isOverwriteModeEnabled(Document document);
159 [RaisesException] void toggleOverwriteModeEnabled(Document document); 154 [RaisesException] void toggleOverwriteModeEnabled(Document document);
160 155
161 [RaisesException] unsigned long numberOfScrollableAreas(Document document); 156 [RaisesException] unsigned long numberOfScrollableAreas(Document document);
162 157
163 [RaisesException] boolean isPageBoxVisible(Document document, long pageNumbe r); 158 [RaisesException] boolean isPageBoxVisible(Document document, long pageNumbe r);
164 159
165 readonly attribute InternalSettings settings; 160 readonly attribute InternalSettings settings;
166 readonly attribute InternalProfilers profilers; 161 readonly attribute InternalProfilers profilers;
167 readonly attribute InternalRuntimeFlags runtimeFlags; 162 readonly attribute InternalRuntimeFlags runtimeFlags;
168 readonly attribute unsigned long workerThreadCount; 163 readonly attribute unsigned long workerThreadCount;
169 164
170 // Flags for layerTreeAsText. 165 // Flags for layerTreeAsText.
171 // The values of these constants must be kept in sync with the values of Lay erTreeAsTextBehaviorFlags in GraphicsLayerClient.h. 166 // The values of these constants must be kept in sync with the values of Lay erTreeAsTextBehaviorFlags in GraphicsLayerClient.h.
172 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; 167 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2;
173 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; 168 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4;
174 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; 169 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8;
170 const unsigned short LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS = 16;
175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags); 171 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi gned short flags);
176 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags); 172 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags);
177 173
178 [RaisesException] NodeList paintOrderListBeforePromote(Element element); 174 [RaisesException] NodeList paintOrderListBeforePromote(Element element);
179 [RaisesException] NodeList paintOrderListAfterPromote(Element element); 175 [RaisesException] NodeList paintOrderListAfterPromote(Element element);
180 176
181 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2); 177 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele ment2);
182 [RaisesException] boolean isUnclippedDescendant(Element element); 178 [RaisesException] boolean isUnclippedDescendant(Element element);
179 [RaisesException] boolean needsCompositedScrolling(Element element);
183 180
184 // The values of these constants must be kept in sync with those in RenderLa yer. 181 // The values of these constants must be kept in sync with those in RenderLa yer.
185 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; 182 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0;
186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; 183 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1;
187 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; 184 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2;
188 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned short value); 185 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned short value);
189 186
190 [RaisesException] DOMString scrollingStateTreeAsText(Document document); 187 [RaisesException] DOMString scrollingStateTreeAsText(Document document);
191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); 188 [RaisesException] DOMString mainThreadScrollingReasons(Document document);
192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); 189 [RaisesException] ClientRectList nonFastScrollableRects(Document document);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 MallocStatistics mallocStatistics(); 229 MallocStatistics mallocStatistics();
233 TypeConversions typeConversions(); 230 TypeConversions typeConversions();
234 231
235 DOMString[] getReferencedFilePaths(); 232 DOMString[] getReferencedFilePaths();
236 233
237 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order: 234 // These functions both reset the tracked repaint rects. They are inteded to be used in the following order:
238 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. 235 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints.
239 [RaisesException] void startTrackingRepaints(Document document); 236 [RaisesException] void startTrackingRepaints(Document document);
240 [RaisesException] void stopTrackingRepaints(Document document); 237 [RaisesException] void stopTrackingRepaints(Document document);
241 238
239 // Returns a list of draggable/non-draggable regions in the document.
240 [RaisesException] ClientRectList draggableRegions(Document document);
241 [RaisesException] ClientRectList nonDraggableRegions(Document document);
242
242 // Returns a string with information about the mouse cursor used at the spec ified client location. 243 // Returns a string with information about the mouse cursor used at the spec ified client location.
243 [RaisesException] DOMString getCurrentCursorInfo(Document document); 244 [RaisesException] DOMString getCurrentCursorInfo(Document document);
244 245
245 [RaisesException] DOMString markerTextForListItem(Element element); 246 [RaisesException] DOMString markerTextForListItem(Element element);
246 247
247 [RaisesException] DOMString baseURL(Document document); 248 [RaisesException] DOMString baseURL(Document document);
248 249
249 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); 250 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer);
250 ArrayBuffer serializeObject(SerializedScriptValue obj); 251 ArrayBuffer serializeObject(SerializedScriptValue obj);
251 252
252 void forceReload(boolean endToEnd); 253 void forceReload(boolean endToEnd);
253 254
254 void enableMockSpeechSynthesizer();
255
256 [RaisesException] DOMString getImageSourceURL(Element element); 255 [RaisesException] DOMString getImageSourceURL(Element element);
257 256
258 boolean isSelectPopupVisible(Node node); 257 boolean isSelectPopupVisible(Node node);
259 258
260 [RaisesException] ClientRect selectionBounds(); 259 [RaisesException] ClientRect selectionBounds();
261 260
262 boolean loseSharedGraphicsContext3D(); 261 boolean loseSharedGraphicsContext3D();
262
263 [RaisesException] void forceCompositingUpdate(Document document);
263 }; 264 };
OLDNEW
« no previous file with comments | « core/testing/InternalSettings.idl ('k') | core/testing/TypeConversions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698