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

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

Issue 471863002: Remove unused bits of Internals (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/testing/Internals.cpp » ('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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 String elementRenderTreeAsText(Element*, ExceptionState&); 81 String elementRenderTreeAsText(Element*, ExceptionState&);
82 82
83 String address(Node*); 83 String address(Node*);
84 84
85 PassRefPtrWillBeRawPtr<GCObservation> observeGC(ScriptValue); 85 PassRefPtrWillBeRawPtr<GCObservation> observeGC(ScriptValue);
86 86
87 bool isPreloaded(const String& url); 87 bool isPreloaded(const String& url);
88 bool isLoadingFromMemoryCache(const String& url); 88 bool isLoadingFromMemoryCache(const String& url);
89 89
90 void crash();
91
92 void setStyleResolverStatsEnabled(bool);
93 String styleResolverStatsReport(ExceptionState&) const;
94 String styleResolverStatsTotalsReport(ExceptionState&) const;
95
96 bool isSharingStyle(Element*, Element*) const; 90 bool isSharingStyle(Element*, Element*) const;
97 91
98 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> computedStyleIncludingVisitedInf o(Node*) const; 92 PassRefPtrWillBeRawPtr<CSSStyleDeclaration> computedStyleIncludingVisitedInf o(Node*) const;
99 93
100 ShadowRoot* shadowRoot(Element* host); 94 ShadowRoot* shadowRoot(Element* host);
101 ShadowRoot* youngestShadowRoot(Element* host); 95 ShadowRoot* youngestShadowRoot(Element* host);
102 ShadowRoot* oldestShadowRoot(Element* host); 96 ShadowRoot* oldestShadowRoot(Element* host);
103 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&); 97 ShadowRoot* youngerShadowRoot(Node* shadow, ExceptionState&);
104 String shadowRootType(const Node*, ExceptionState&) const; 98 String shadowRootType(const Node*, ExceptionState&) const;
105 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; 99 bool hasShadowInsertionPoint(const Node*, ExceptionState&) const;
(...skipping 27 matching lines...) Expand all
133 127
134 String visiblePlaceholder(Element*); 128 String visiblePlaceholder(Element*);
135 void selectColorInColorChooser(Element*, const String& colorValue); 129 void selectColorInColorChooser(Element*, const String& colorValue);
136 bool hasAutofocusRequest(Document*); 130 bool hasAutofocusRequest(Document*);
137 bool hasAutofocusRequest(); 131 bool hasAutofocusRequest();
138 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 132 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
139 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 133 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
140 void setEnableMockPagePopup(bool, ExceptionState&); 134 void setEnableMockPagePopup(bool, ExceptionState&);
141 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 135 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
142 136
143 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&);
144
145 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 137 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
146 138
147 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*); 139 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*);
148 140
149 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 141 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
150 unsigned activeMarkerCountForNode(Node*); 142 unsigned activeMarkerCountForNode(Node*);
151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 143 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 144 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
153 void addTextMatchMarker(const Range*, bool isActive); 145 void addTextMatchMarker(const Range*, bool isActive);
154 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool) ; 146 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool) ;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 274
283 void forceReload(bool endToEnd); 275 void forceReload(bool endToEnd);
284 276
285 String getImageSourceURL(Element*); 277 String getImageSourceURL(Element*);
286 278
287 bool isSelectPopupVisible(Node*); 279 bool isSelectPopupVisible(Node*);
288 bool selectPopupItemStyleIsRtl(Node*, int); 280 bool selectPopupItemStyleIsRtl(Node*, int);
289 int selectPopupItemStyleFontHeight(Node*, int); 281 int selectPopupItemStyleFontHeight(Node*, int);
290 282
291 PassRefPtrWillBeRawPtr<ClientRect> selectionBounds(ExceptionState&); 283 PassRefPtrWillBeRawPtr<ClientRect> selectionBounds(ExceptionState&);
292 String baseURL(Document*);
293 284
294 bool loseSharedGraphicsContext3D(); 285 bool loseSharedGraphicsContext3D();
295 286
296 void forceCompositingUpdate(Document*, ExceptionState&); 287 void forceCompositingUpdate(Document*, ExceptionState&);
297 288
298 void setZoomFactor(float); 289 void setZoomFactor(float);
299 290
300 void setShouldRevealPassword(Element*, bool, ExceptionState&); 291 void setShouldRevealPassword(Element*, bool, ExceptionState&);
301 292
302 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 293 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue);
(...skipping 28 matching lines...) Expand all
331 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 322 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
332 323
333 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 324 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
334 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 325 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
335 RefPtrWillBeMember<InternalProfilers> m_profilers; 326 RefPtrWillBeMember<InternalProfilers> m_profilers;
336 }; 327 };
337 328
338 } // namespace blink 329 } // namespace blink
339 330
340 #endif 331 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698