Home | History | Annotate | Download | only in testing

Lines Matching defs:Internals

28 #include "core/testing/Internals.h"
170 const char* Internals::internalsId = "internals";
172 PassRefPtrWillBeRawPtr<Internals> Internals::create(Document* document)
174 return adoptRefWillBeNoop(new Internals(document));
177 Internals::~Internals()
181 void Internals::resetToConsistentState(Page* page)
204 Internals::Internals(Document* document)
210 Document* Internals::contextDocument() const
215 LocalFrame* Internals::frame() const
222 InternalSettings* Internals::settings() const
233 InternalRuntimeFlags* Internals::runtimeFlags() const
238 InternalProfilers* Internals::profilers()
245 unsigned Internals::workerThreadCount() const
250 String Internals::address(Node* node)
258 PassRefPtrWillBeRawPtr<GCObservation> Internals::observeGC(ScriptValue scriptValue)
270 unsigned Internals::updateStyleAndReturnAffectedElementCount(ExceptionState& exceptionState) const
283 unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const
298 bool Internals::isPreloaded(const String& url)
304 bool Internals::isLoadingFromMemoryCache(const String& url)
312 void Internals::crash()
317 void Internals::setStyleResolverStatsEnabled(bool enabled)
326 String Internals::styleResolverStatsReport(ExceptionState& exceptionState) const
336 String Internals::styleResolverStatsTotalsReport(ExceptionState& exceptionState) const
346 bool Internals::isSharingStyle(Element* element1, Element* element2, ExceptionState& exceptionState) const
355 bool Internals::isValidContentSelect(Element* insertionPoint, ExceptionState& exceptionState)
365 Node* Internals::treeScopeRootNode(Node* node, ExceptionState& exceptionState)
375 Node* Internals::parentTreeScope(Node* node, ExceptionState& exceptionState)
385 bool Internals::hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, ExceptionState& exceptionState)
395 bool Internals::hasSelectorForClassInShadow(Element* host, const AtomicString& className, ExceptionState& exceptionState)
405 bool Internals::hasSelectorForAttributeInShadow(Element* host, const AtomicString& attributeName, ExceptionState& exceptionState)
415 bool Internals::hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoClass, ExceptionState& exceptionState)
442 unsigned short Internals::compareTreeScopePosition(const Node* node1, const Node* node2, ExceptionState& exceptionState) const
459 unsigned Internals::numberOfActiveAnimations() const
466 void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState)
477 bool Internals::hasShadowInsertionPoint(const Node* root, ExceptionState& exceptionState) const
486 bool Internals::hasContentElement(const Node* root, ExceptionState& exceptionState) const
495 size_t Internals::countElementShadow(const Node* root, ExceptionState& exceptionState) const
504 Node* Internals::nextSiblingByWalker(Node* node, ExceptionState& exceptionState)
515 Node* Internals::firstChildByWalker(Node* node, ExceptionState& exceptionState)
526 Node* Internals::lastChildByWalker(Node* node, ExceptionState& exceptionState)
537 Node* Internals::nextNodeByWalker(Node* node, ExceptionState& exceptionState)
548 Node* Internals::previousNodeByWalker(Node* node, ExceptionState& exceptionState)
559 String Internals::elementRenderTreeAsText(Element* element, ExceptionState& exceptionState)
575 PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> Internals::computedStyleIncludingVisitedInfo(Node* node, ExceptionState& exceptionState) const
586 ShadowRoot* Internals::shadowRoot(Element* host, ExceptionState& exceptionState)
588 // FIXME: Internals::shadowRoot() in tests should be converted to youngestShadowRoot() or oldestShadowRoot().
593 ShadowRoot* Internals::youngestShadowRoot(Element* host, ExceptionState& exceptionState)
605 ShadowRoot* Internals::oldestShadowRoot(Element* host, ExceptionState& exceptionState)
617 ShadowRoot* Internals::youngerShadowRoot(Node* shadow, ExceptionState& exceptionState)
627 String Internals::shadowRootType(const Node* root, ExceptionState& exceptionState) const
645 const AtomicString& Internals::shadowPseudoId(Element* element, ExceptionState& exceptionState)
655 void Internals::setShadowPseudoId(Element* element, const AtomicString& id, ExceptionState& exceptionState)
665 String Internals::visiblePlaceholder(Element* element)
675 void Internals::selectColorInColorChooser(Element* element, const String& colorValue)
686 bool Internals::hasAutofocusRequest(Document* document)
693 bool Internals::hasAutofocusRequest()
698 Vector<String> Internals::formControlStateOfHistoryItem(ExceptionState& exceptionState)
708 void Internals::setFormControlStateOfHistoryItem(const Vector<String>& state, ExceptionState& exceptionState)
719 void Internals::setEnableMockPagePopup(bool enabled, ExceptionState& exceptionState)
734 PassRefPtrWillBeRawPtr<PagePopupController> Internals::pagePopupController()
739 PassRefPtrWillBeRawPtr<ClientRect> Internals::unscaledViewportRect(ExceptionState& exceptionState)
750 PassRefPtrWillBeRawPtr<ClientRect> Internals::absoluteCaretBounds(ExceptionState& exceptionState)
761 PassRefPtrWillBeRawPtr<ClientRect> Internals::boundingBox(Element* element, ExceptionState& exceptionState)
775 unsigned Internals::markerCountForNode(Node* node, const String& markerType, ExceptionState& exceptionState)
791 unsigned Internals::activeMarkerCountForNode(Node* node, ExceptionState& exceptionState)
811 DocumentMarker* Internals::markerAt(Node* node, const String& markerType, unsigned index, ExceptionState& exceptionState)
830 PassRefPtrWillBeRawPtr<Range> Internals::markerRangeForNode(Node* node, const String& markerType, unsigned index, ExceptionState& exceptionState)
838 String Internals::markerDescriptionForNode(Node* node, const String& markerType, unsigned index, ExceptionState& exceptionState)
846 void Internals::addTextMatchMarker(const Range* range, bool isActive)
852 void Internals::setMarkersActive(Node* node, unsigned startOffset, unsigned endOffset, bool active, ExceptionState& exceptionState)
862 void Internals::setMarkedTextMatchesAreHighlighted(Document* document, bool highlight, ExceptionState&)
870 void Internals::setScrollViewPosition(Document* document, long x, long y, ExceptionState& exceptionState)
888 String Internals::viewportAsText(Document* document, float, int availableWidth, int availableHeight, ExceptionState& exceptionState)
928 bool Internals::wasLastChangeUserEdit(Element* textField, ExceptionState& exceptionState)
945 bool Internals::elementShouldAutoComplete(Element* element, ExceptionState& exceptionState)
959 String Internals::suggestedValue(Element* element, ExceptionState& exceptionState)
984 void Internals::setSuggestedValue(Element* element, const String& value, ExceptionState& exceptionState)
1006 void Internals::setEditingValue(Element* element, const String& value, ExceptionState& exceptionState)
1021 void Internals::setAutofilled(Element* element, bool enabled, ExceptionState& exceptionState)
1030 void Internals::scrollElementToRect(Element* element, long x, long y, long w, long h, ExceptionState& exceptionState)
1040 PassRefPtrWillBeRawPtr<Range> Internals::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, ExceptionState& exceptionState)
1053 unsigned Internals::locationFromRange(Element* scope, const Range* range, ExceptionState& exceptionState)
1066 unsigned Internals::lengthFromRange(Element* scope, const Range* range, ExceptionState& exceptionState)
1079 String Internals::rangeAsText(const Range* range, ExceptionState& exceptionState)
1089 PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState)
1111 Node* Internals::touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState)
1129 PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState)
1151 Node* Internals::touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState)
1169 PassRefPtrWillBeRawPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState)
1191 int Internals::lastSpellCheckRequestSequence(Document* document, ExceptionState& exceptionState)
1203 int Internals::lastSpellCheckProcessedSequence(Document* document, ExceptionState& exceptionState)
1215 Vector<AtomicString> Internals::userPreferredLanguages() const
1222 void Internals::setUserPreferredLanguages(const Vector<String>& languages)
1230 unsigned Internals::activeDOMObjectCount(Document* document, ExceptionState& exceptionState)
1254 unsigned Internals::wheelEventHandlerCount(Document* document, ExceptionState& exceptionState)
1264 unsigned Internals::scrollEventHandlerCount(Document* document, ExceptionState& exceptionState)
1274 unsigned Internals::touchEventHandlerCount(Document* document, ExceptionState& exceptionState)
1411 PassRefPtrWillBeRawPtr<LayerRectList> Internals::touchEventTargetLayerRects(Document* document, ExceptionState& exceptionState)
1437 PassRefPtrWillBeRawPtr<StaticNodeList> Internals::nodesFromRect(Document* document, int centerX, int centerY, unsigned topPadding, unsigned rightPadding,
1487 void Internals::emitInspectorDidBeginFrame(int frameId)
1492 void Internals::emitInspectorDidCancelFrame()
1497 bool Internals::hasSpellingMarker(Document* document, int from, int length, ExceptionState&)
1505 void Internals::setContinuousSpellCheckingEnabled(bool enabled, ExceptionState&)
1514 bool Internals::isOverwriteModeEnabled(Document* document, ExceptionState&)
1522 void Internals::toggleOverwriteModeEnabled(Document* document, ExceptionState&)
1530 unsigned Internals::numberOfLiveNodes() const
1535 unsigned Internals::numberOfLiveDocuments() const
1540 String Internals::dumpRefCountedInstanceCounts() const
1545 Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const
1560 Vector<unsigned long> Internals::setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes)
1570 void Internals::setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, int maximumSingleResourceContentSize, ExceptionState& exceptionState)
1580 bool Internals::hasGrammarMarker(Document* document, int from, int length, ExceptionState&)
1588 unsigned Internals::numberOfScrollableAreas(Document* document, ExceptionState&)
1603 bool Internals::isPageBoxVisible(Document* document, int pageNumber, ExceptionState& exceptionState)
1613 String Internals::layerTreeAsText(Document* document, ExceptionState& exceptionState) const
1618 String Internals::elementLayerTreeAsText(Element* element, ExceptionState& exceptionState) const
1631 bool Internals::scrollsWithRespectTo(Element* element1, Element* element2, ExceptionState& exceptionState)
1661 bool Internals::isUnclippedDescendant(Element* element, ExceptionState& exceptionState)
1691 String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionState& exceptionState) const
1703 String Internals::elementLayerTreeAsText(Element* element, unsigned flags, ExceptionState& exceptionState) const
1751 String Internals::repaintRectsAsText(Document* document, ExceptionState& exceptionState) const
1761 PassRefPtrWillBeRawPtr<ClientRectList> Internals::repaintRects(Element* element, ExceptionState& exceptionState) const
1785 String Internals::scrollingStateTreeAsText(Document* document, ExceptionState& exceptionState) const
1790 String Internals::mainThreadScrollingReasons(Document* document, ExceptionState& exceptionState) const
1806 PassRefPtrWillBeRawPtr<ClientRectList> Internals::nonFastScrollableRects(Document* document, ExceptionState& exceptionState) const
1820 void Internals::garbageCollectDocumentResources(Document* document, ExceptionState& exceptionState) const
1832 void Internals::evictAllResources() const
1837 void Internals::allowRoundingHacks() const
1842 String Internals::counterValue(Element* element)
1850 int Internals::pageNumber(Element* element, float pageWidth, float pageHeight)
1858 Vector<String> Internals::iconURLs(Document* document, int iconTypesMask) const
1870 Vector<String> Internals::shortcutIconURLs(Document* document) const
1875 Vector<String> Internals::allIconURLs(Document* document) const
1880 int Internals::numberOfPages(float pageWidth, float pageHeight)
1888 String Internals::pageProperty(String propertyName, int pageNumber, ExceptionState& exceptionState) const
1898 String Internals::pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft, ExceptionState& exceptionState) const
1908 void Internals::setDeviceScaleFactor(float scaleFactor, ExceptionState& exceptionState)
1919 void Internals::setIsCursorVisible(Document* document, bool isVisible, ExceptionState& exceptionState)
1928 void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* element)
1935 void Internals::webkitDidEnterFullScreenForElement(Document* document, Element* element)
1942 void Internals::webkitWillExitFullScreenForElement(Document* document, Element* element)
1949 void Internals::webkitDidExitFullScreenForElement(Document* document, Element* element)
1956 void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
1961 void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
1966 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme)
1971 PassRefPtrWillBeRawPtr<MallocStatistics> Internals::mallocStatistics() const
1976 PassRefPtrWillBeRawPtr<TypeConversions> Internals::typeConversions() const
1981 Vector<String> Internals::getReferencedFilePaths() const
1986 void Internals::startTrackingRepaints(Document* document, ExceptionState& exceptionState)
1998 void Internals::stopTrackingRepaints(Document* document, ExceptionState& exceptionState)
2010 void Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(ExceptionState& exceptionState)
2015 void Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node* node, ExceptionState& exceptionState)
2031 void Internals::forceFullRepaint(Document* document, ExceptionState& exceptionState)
2042 PassRefPtrWillBeRawPtr<ClientRectList> Internals::draggableRegions(Document* document, ExceptionState& exceptionState)
2047 PassRefPtrWillBeRawPtr<ClientRectList> Internals::nonDraggableRegions(Document* document, ExceptionState& exceptionState)
2052 PassRefPtrWillBeRawPtr<ClientRectList> Internals::annotatedRegions(Document* document, bool draggable, ExceptionState& exceptionState)
2124 String Internals::getCurrentCursorInfo(Document* document, ExceptionState& exceptionState)
2156 PassRefPtr<ArrayBuffer> Internals::serializeObject(PassRefPtr<SerializedScriptValue> value) const
2164 PassRefPtr<SerializedScriptValue> Internals::deserializeBuffer(PassRefPtr<ArrayBuffer> buffer) const
2170 void Internals::forceReload(bool endToEnd)
2175 PassRefPtrWillBeRawPtr<ClientRect> Internals::selectionBounds(ExceptionState& exceptionState)
2186 String Internals::markerTextForListItem(Element* element, ExceptionState& exceptionState)
2195 String Internals::getImageSourceURL(Element* element, ExceptionState& exceptionState)
2204 String Internals::baseURL(Document* document, ExceptionState& exceptionState)
2214 bool Internals
2230 bool Internals::loseSharedGraphicsContext3D()
2244 void Internals::forceCompositingUpdate(Document* document, ExceptionState& exceptionState)
2246 // Hit when running content_shell with --expose-internals-for-testing.
2257 void Internals::setZoomFactor(float factor)
2262 void Internals::setShouldRevealPassword(Element* element, bool reveal, ExceptionState& exceptionState)
2299 ScriptPromise Internals::createPromise(ScriptState* scriptState)
2304 ScriptPromise Internals::createResolvedPromise(ScriptState* scriptState, ScriptValue value)
2312 ScriptPromise Internals::createRejectedPromise(ScriptState* scriptState, ScriptValue value)
2320 ScriptPromise Internals::addOneToPromise(ExecutionContext* context, ScriptPromise promise)
2325 void Internals::trace(Visitor* visitor)
2331 void Internals::setValueForUser(Element* element, const String& value)
2336 String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long maxLength)
2345 void Internals::setFocused(bool focused)
2350 bool Internals::ignoreLayoutWithPendingStylesheets(Document* document, ExceptionState& exceptionState)
2360 void Internals::setNetworkStateNotifierTestOnly(bool testOnly)
2365 void Internals::setNetworkConnectionInfo(const String& type, ExceptionState& exceptionState)