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

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

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void advanceImageAnimation(Element* image, ExceptionState&); 124 void advanceImageAnimation(Element* image, ExceptionState&);
125 125
126 bool isValidContentSelect(Element* insertionPoint, ExceptionState&); 126 bool isValidContentSelect(Element* insertionPoint, ExceptionState&);
127 Node* treeScopeRootNode(Node*); 127 Node* treeScopeRootNode(Node*);
128 Node* parentTreeScope(Node*); 128 Node* parentTreeScope(Node*);
129 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&); 129 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&);
130 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&); 130 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&);
131 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&); 131 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&);
132 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const; 132 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const;
133 133
134 Node* nextSiblingInComposedTree(Node*, ExceptionState&); 134 Node* nextSiblingInFlatTree(Node*, ExceptionState&);
135 Node* firstChildInComposedTree(Node*, ExceptionState&); 135 Node* firstChildInFlatTree(Node*, ExceptionState&);
136 Node* lastChildInComposedTree(Node*, ExceptionState&); 136 Node* lastChildInFlatTree(Node*, ExceptionState&);
137 Node* nextInComposedTree(Node*, ExceptionState&); 137 Node* nextInFlatTree(Node*, ExceptionState&);
138 Node* previousInComposedTree(Node*, ExceptionState&); 138 Node* previousInFlatTree(Node*, ExceptionState&);
139 139
140 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 140 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
141 unsigned needsLayoutCount(ExceptionState&) const; 141 unsigned needsLayoutCount(ExceptionState&) const;
142 unsigned hitTestCount(Document*, ExceptionState&) const; 142 unsigned hitTestCount(Document*, ExceptionState&) const;
143 unsigned hitTestCacheHits(Document*, ExceptionState&) const; 143 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
144 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const; 144 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const;
145 void clearHitTestCache(Document*, ExceptionState&) const; 145 void clearHitTestCache(Document*, ExceptionState&) const;
146 146
147 String visiblePlaceholder(Element*); 147 String visiblePlaceholder(Element*);
148 void selectColorInColorChooser(Element*, const String& colorValue); 148 void selectColorInColorChooser(Element*, const String& colorValue);
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 409
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
411 Member<InternalRuntimeFlags> m_runtimeFlags; 411 Member<InternalRuntimeFlags> m_runtimeFlags;
412 412
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 413 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
414 }; 414 };
415 415
416 } // namespace blink 416 } // namespace blink
417 417
418 #endif // Internals_h 418 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698