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

Side by Side Diff: Source/core/testing/Internals.h

Issue 445933003: Clean up testing.internals argument type checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up result type Created 6 years, 4 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
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 bool isPreloaded(const String& url); 86 bool isPreloaded(const String& url);
87 bool isLoadingFromMemoryCache(const String& url); 87 bool isLoadingFromMemoryCache(const String& url);
88 88
89 void crash(); 89 void crash();
90 90
91 void setStyleResolverStatsEnabled(bool); 91 void setStyleResolverStatsEnabled(bool);
92 String styleResolverStatsReport(ExceptionState&) const; 92 String styleResolverStatsReport(ExceptionState&) const;
93 String styleResolverStatsTotalsReport(ExceptionState&) const; 93 String styleResolverStatsTotalsReport(ExceptionState&) const;
94 94
95 bool isSharingStyle(Element*, Element*, ExceptionState&) const; 95 bool isSharingStyle(Element*, Element*) const;
96 96
97 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> computedStyleIncludingVi sitedInfo(Node*, ExceptionState&) const; 97 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> computedStyleIncludingVisitedInf o(Node*) const;
98 98
99 ShadowRoot* shadowRoot(Element* host, ExceptionState&); 99 ShadowRoot* shadowRoot(Element* host);
100 ShadowRoot* youngestShadowRoot(Element* host, ExceptionState&); 100 ShadowRoot* youngestShadowRoot(Element* host);
101 ShadowRoot* oldestShadowRoot(Element* host, ExceptionState&); 101 ShadowRoot* oldestShadowRoot(Element* host);
102 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); 102 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
103 String shadowRootType(const Node*, ExceptionState&) const; 103 String shadowRootType(const Node*, ExceptionState&) const;
104 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; 104 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const;
105 bool hasContentElement(const Node*, ExceptionState&) const; 105 bool hasContentElement(const Node*, ExceptionState&) const;
106 size_t countElementShadow(const Node*, ExceptionState&) const; 106 size_t countElementShadow(const Node*, ExceptionState&) const;
107 const AtomicString& shadowPseudoId(Element*, ExceptionState&); 107 const AtomicString& shadowPseudoId(Element*);
108 void setShadowPseudoId(Element*, const AtomicString&, ExceptionState&); 108 void setShadowPseudoId(Element*, const AtomicString&);
109 109
110 // CSS Animation / Transition testing. 110 // CSS Animation / Transition testing.
111 void pauseAnimations(double pauseTime, ExceptionState&); 111 void pauseAnimations(double pauseTime, ExceptionState&);
112 112
113 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); 113 bool isValidContentSelect(Element* insertionPoint, ExceptionState&);
114 Node* treeScopeRootNode(Node*, ExceptionState&); 114 Node* treeScopeRootNode(Node*);
115 Node* parentTreeScope(Node*, ExceptionState&); 115 Node* parentTreeScope(Node*);
116 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&); 116 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&);
117 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&); 117 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&);
118 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&); 118 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&);
119 bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoCl ass, ExceptionState&); 119 bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoCl ass, ExceptionState&);
120 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const; 120 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const;
121 121
122 // FIXME: Rename these functions if walker is prefered. 122 // FIXME: Rename these functions if walker is preferred.
123 Node* nextSiblingByWalker(Node*, ExceptionState&); 123 Node* nextSiblingByWalker(Node*);
124 Node* firstChildByWalker(Node*, ExceptionState&); 124 Node* firstChildByWalker(Node*);
125 Node* lastChildByWalker(Node*, ExceptionState&); 125 Node* lastChildByWalker(Node*);
126 Node* nextNodeByWalker(Node*, ExceptionState&); 126 Node* nextNodeByWalker(Node*);
127 Node* previousNodeByWalker(Node*, ExceptionState&); 127 Node* previousNodeByWalker(Node*);
128 128
129 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 129 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
130 unsigned needsLayoutCount(ExceptionState&) const; 130 unsigned needsLayoutCount(ExceptionState&) const;
131 unsigned hitTestCount(Document*, ExceptionState&) const; 131 unsigned hitTestCount(Document*, ExceptionState&) const;
132 132
133 String visiblePlaceholder(Element*); 133 String visiblePlaceholder(Element*);
134 void selectColorInColorChooser(Element*, const String& colorValue); 134 void selectColorInColorChooser(Element*, const String& colorValue);
135 bool hasAutofocusRequest(Document*); 135 bool hasAutofocusRequest(Document*);
136 bool hasAutofocusRequest(); 136 bool hasAutofocusRequest();
137 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 137 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
138 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 138 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
139 void setEnableMockPagePopup(bool, ExceptionState&); 139 void setEnableMockPagePopup(bool, ExceptionState&);
140 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 140 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
141 141
142 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&); 142 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&);
143 143
144 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 144 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
145 145
146 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*, ExceptionState&); 146 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*);
147 147
148 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 148 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
149 unsigned activeMarkerCountForNode(Node*, ExceptionState&); 149 unsigned activeMarkerCountForNode(Node*);
150 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 150 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
151 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 151 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
152 void addTextMatchMarker(const Range*, bool isActive); 152 void addTextMatchMarker(const Range*, bool isActive);
153 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&); 153 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool) ;
154 void setMarkedTextMatchesAreHighlighted(Document*, bool, ExceptionState&); 154 void setMarkedTextMatchesAreHighlighted(Document*, bool);
155 155
156 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); 156 void setScrollViewPosition(Document*, long x, long y, ExceptionState&);
157 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&); 157 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&);
158 158
159 bool wasLastChangeUserEdit(Element* textField, ExceptionState&); 159 bool wasLastChangeUserEdit(Element* textField, ExceptionState&);
160 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); 160 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&);
161 String suggestedValue(Element*, ExceptionState&); 161 String suggestedValue(Element*, ExceptionState&);
162 void setSuggestedValue(Element*, const String&, ExceptionState&); 162 void setSuggestedValue(Element*, const String&, ExceptionState&);
163 void setEditingValue(Element* inputElement, const String&, ExceptionState&); 163 void setEditingValue(Element* inputElement, const String&, ExceptionState&);
164 void setAutofilled(Element*, bool enabled, ExceptionState&); 164 void setAutofilled(Element*, bool enabled, ExceptionState&);
165 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&); 165 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&);
166 166
167 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, ExceptionState&); 167 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength);
168 unsigned locationFromRange(Element* scope, const Range*, ExceptionState&); 168 unsigned locationFromRange(Element* scope, const Range*);
169 unsigned lengthFromRange(Element* scope, const Range*, ExceptionState&); 169 unsigned lengthFromRange(Element* scope, const Range*);
170 String rangeAsText(const Range*, ExceptionState&); 170 String rangeAsText(const Range*);
171 171
172 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestClickableNode (long x, long y, long width, long height, Document*, ExceptionState&); 172 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestClickableNode (long x, long y, long width, long height, Document*, ExceptionState&);
173 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&); 173 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&);
174 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestContextMenuNo de(long x, long y, long width, long height, Document*, ExceptionState&); 174 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestContextMenuNo de(long x, long y, long width, long height, Document*, ExceptionState&);
175 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&); 175 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&);
176 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon g y, long width, long height, Document*, ExceptionState&); 176 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon g y, long width, long height, Document*, ExceptionState&);
177 177
178 int lastSpellCheckRequestSequence(Document*, ExceptionState&); 178 int lastSpellCheckRequestSequence(Document*, ExceptionState&);
179 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); 179 int lastSpellCheckProcessedSequence(Document*, ExceptionState&);
180 180
181 Vector<AtomicString> userPreferredLanguages() const; 181 Vector<AtomicString> userPreferredLanguages() const;
182 void setUserPreferredLanguages(const Vector<String>&); 182 void setUserPreferredLanguages(const Vector<String>&);
183 183
184 unsigned activeDOMObjectCount(Document*, ExceptionState&); 184 unsigned activeDOMObjectCount(Document*);
185 unsigned wheelEventHandlerCount(Document*, ExceptionState&); 185 unsigned wheelEventHandlerCount(Document*);
186 unsigned scrollEventHandlerCount(Document*, ExceptionState&); 186 unsigned scrollEventHandlerCount(Document*);
187 unsigned touchEventHandlerCount(Document*, ExceptionState&); 187 unsigned touchEventHandlerCount(Document*);
188 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionState&); 188 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionState&);
189 189
190 // This is used to test rect based hit testing like what's done on touch scr eens. 190 // This is used to test rect based hit testing like what's done on touch scr eens.
191 PassRefPtrWillBeRawPtr<StaticNodeList> nodesFromRect(Document*, int x, int y , unsigned topPadding, unsigned rightPadding, 191 PassRefPtrWillBeRawPtr<StaticNodeList> nodesFromRect(Document*, int x, int y , unsigned topPadding, unsigned rightPadding,
192 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowChildFrameContent, ExceptionState&) const; 192 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowChildFrameContent, ExceptionState&) const;
193 193
194 void emitInspectorDidBeginFrame(int frameId = 0); 194 void emitInspectorDidBeginFrame(int frameId = 0);
195 void emitInspectorDidCancelFrame(); 195 void emitInspectorDidCancelFrame();
196 196
197 bool hasSpellingMarker(Document*, int from, int length, ExceptionState&); 197 bool hasSpellingMarker(Document*, int from, int length);
198 bool hasGrammarMarker(Document*, int from, int length, ExceptionState&); 198 bool hasGrammarMarker(Document*, int from, int length);
199 void setContinuousSpellCheckingEnabled(bool enabled, ExceptionState&); 199 void setContinuousSpellCheckingEnabled(bool);
200 200
201 bool isOverwriteModeEnabled(Document*, ExceptionState&); 201 bool isOverwriteModeEnabled(Document*);
202 void toggleOverwriteModeEnabled(Document*, ExceptionState&); 202 void toggleOverwriteModeEnabled(Document*);
203 203
204 unsigned numberOfScrollableAreas(Document*, ExceptionState&); 204 unsigned numberOfScrollableAreas(Document*);
205 205
206 bool isPageBoxVisible(Document*, int pageNumber, ExceptionState&); 206 bool isPageBoxVisible(Document*, int pageNumber);
207 207
208 static const char* internalsId; 208 static const char* internalsId;
209 209
210 InternalSettings* settings() const; 210 InternalSettings* settings() const;
211 InternalRuntimeFlags* runtimeFlags() const; 211 InternalRuntimeFlags* runtimeFlags() const;
212 InternalProfilers* profilers(); 212 InternalProfilers* profilers();
213 unsigned workerThreadCount() const; 213 unsigned workerThreadCount() const;
214 214
215 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&); 215 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&);
216 216
217 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const; 217 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const;
218 String layerTreeAsText(Document*, ExceptionState&) const; 218 String layerTreeAsText(Document*, ExceptionState&) const;
219 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st; 219 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st;
220 String elementLayerTreeAsText(Element*, ExceptionState&) const; 220 String elementLayerTreeAsText(Element*, ExceptionState&) const;
221 221
222 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); 222 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
223 bool isUnclippedDescendant(Element*, ExceptionState&); 223 bool isUnclippedDescendant(Element*, ExceptionState&);
224 224
225 String scrollingStateTreeAsText(Document*, ExceptionState&) const; 225 String scrollingStateTreeAsText(Document*) const;
226 String mainThreadScrollingReasons(Document*, ExceptionState&) const; 226 String mainThreadScrollingReasons(Document*, ExceptionState&) const;
227 PassRefPtrWillBeRawPtr<ClientRectList> nonFastScrollableRects(Document*, Exc eptionState&) const; 227 PassRefPtrWillBeRawPtr<ClientRectList> nonFastScrollableRects(Document*, Exc eptionState&) const;
228 228
229 void garbageCollectDocumentResources(Document*, ExceptionState&) const; 229 void garbageCollectDocumentResources(Document*) const;
230 void evictAllResources() const; 230 void evictAllResources() const;
231 231
232 unsigned numberOfLiveNodes() const; 232 unsigned numberOfLiveNodes() const;
233 unsigned numberOfLiveDocuments() const; 233 unsigned numberOfLiveDocuments() const;
234 String dumpRefCountedInstanceCounts() const; 234 String dumpRefCountedInstanceCounts() const;
235 Vector<String> consoleMessageArgumentCounts(Document*) const; 235 Vector<String> consoleMessageArgumentCounts(Document*) const;
236 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url); 236 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri ng& url);
237 void closeDummyInspectorFrontend(); 237 void closeDummyInspectorFrontend();
238 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes); 238 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u nsigned long maxDeadBytes, unsigned long totalBytes);
239 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&); 239 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in t maximumSingleResourceContentSize, ExceptionState&);
(...skipping 29 matching lines...) Expand all
269 void forceFullRepaint(Document*, ExceptionState&); 269 void forceFullRepaint(Document*, ExceptionState&);
270 270
271 PassRefPtrWillBeRawPtr<ClientRectList> draggableRegions(Document*, Exception State&); 271 PassRefPtrWillBeRawPtr<ClientRectList> draggableRegions(Document*, Exception State&);
272 PassRefPtrWillBeRawPtr<ClientRectList> nonDraggableRegions(Document*, Except ionState&); 272 PassRefPtrWillBeRawPtr<ClientRectList> nonDraggableRegions(Document*, Except ionState&);
273 273
274 PassRefPtr<ArrayBuffer> serializeObject(PassRefPtr<SerializedScriptValue>) c onst; 274 PassRefPtr<ArrayBuffer> serializeObject(PassRefPtr<SerializedScriptValue>) c onst;
275 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const; 275 PassRefPtr<SerializedScriptValue> deserializeBuffer(PassRefPtr<ArrayBuffer>) const;
276 276
277 String getCurrentCursorInfo(Document*, ExceptionState&); 277 String getCurrentCursorInfo(Document*, ExceptionState&);
278 278
279 String markerTextForListItem(Element*, ExceptionState&); 279 String markerTextForListItem(Element*);
280 280
281 void forceReload(bool endToEnd); 281 void forceReload(bool endToEnd);
282 282
283 String getImageSourceURL(Element*, ExceptionState&); 283 String getImageSourceURL(Element*);
284 284
285 bool isSelectPopupVisible(Node*); 285 bool isSelectPopupVisible(Node*);
286 bool selectPopupItemStyleIsRtl(Node*, int); 286 bool selectPopupItemStyleIsRtl(Node*, int);
287 int selectPopupItemStyleFontHeight(Node*, int); 287 int selectPopupItemStyleFontHeight(Node*, int);
288 288
289 PassRefPtrWillBeRawPtr<ClientRect> selectionBounds(ExceptionState&); 289 PassRefPtrWillBeRawPtr<ClientRect> selectionBounds(ExceptionState&);
290 String baseURL(Document*, ExceptionState&); 290 String baseURL(Document*);
291 291
292 bool loseSharedGraphicsContext3D(); 292 bool loseSharedGraphicsContext3D();
293 293
294 void forceCompositingUpdate(Document*, ExceptionState&); 294 void forceCompositingUpdate(Document*, ExceptionState&);
295 295
296 void setZoomFactor(float); 296 void setZoomFactor(float);
297 297
298 void setShouldRevealPassword(Element*, bool, ExceptionState&); 298 void setShouldRevealPassword(Element*, bool, ExceptionState&);
299 299
300 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 300 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue);
301 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue); 301 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue);
302 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 302 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
303 303
304 void trace(Visitor*); 304 void trace(Visitor*);
305 305
306 void setValueForUser(Element*, const String&); 306 void setValueForUser(Element*, const String&);
307 307
308 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 308 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
309 309
310 void setFocused(bool); 310 void setFocused(bool);
311 311
312 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&); 312 bool ignoreLayoutWithPendingStylesheets(Document*);
313 313
314 void setNetworkStateNotifierTestOnly(bool); 314 void setNetworkStateNotifierTestOnly(bool);
315 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 315 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
316 void setNetworkConnectionInfo(const String&, ExceptionState&); 316 void setNetworkConnectionInfo(const String&, ExceptionState&);
317 String serializeNavigationMarkup(Document*); 317 String serializeNavigationMarkup(Document*);
318 318
319 unsigned countHitRegions(CanvasRenderingContext2D*); 319 unsigned countHitRegions(CanvasRenderingContext2D*);
320 320
321 private: 321 private:
322 explicit Internals(Document*); 322 explicit Internals(Document*);
323 Document* contextDocument() const; 323 Document* contextDocument() const;
324 LocalFrame* frame() const; 324 LocalFrame* frame() const;
325 Vector<String> iconURLs(Document*, int iconTypesMask) const; 325 Vector<String> iconURLs(Document*, int iconTypesMask) const;
326 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 326 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
327 327
328 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 328 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
329 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 329 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
330 RefPtrWillBeMember<InternalProfilers> m_profilers; 330 RefPtrWillBeMember<InternalProfilers> m_profilers;
331 }; 331 };
332 332
333 } // namespace blink 333 } // namespace blink
334 334
335 #endif 335 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow-expected.txt ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698