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

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

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove one TODO Created 5 years 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&); 127 bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, Ex ceptionState&);
128 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&); 128 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&);
129 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&); 129 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&);
130 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const; 130 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const;
131 131
132 Node* nextSiblingInComposedTree(Node*, ExceptionState&); 132 Node* nextSiblingInComposedTree(Node*, ExceptionState&);
133 Node* firstChildInComposedTree(Node*, ExceptionState&); 133 Node* firstChildInComposedTree(Node*, ExceptionState&);
134 Node* lastChildInComposedTree(Node*, ExceptionState&); 134 Node* lastChildInComposedTree(Node*, ExceptionState&);
135 Node* nextInComposedTree(Node*, ExceptionState&); 135 Node* nextInComposedTree(Node*, ExceptionState&);
136 Node* previousInComposedTree(Node*, ExceptionState&); 136 Node* previousInComposedTree(Node*, ExceptionState&);
137 Node* parentInComposedTree(Node*, ExceptionState&);
137 138
138 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 139 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
139 unsigned needsLayoutCount(ExceptionState&) const; 140 unsigned needsLayoutCount(ExceptionState&) const;
140 unsigned hitTestCount(Document*, ExceptionState&) const; 141 unsigned hitTestCount(Document*, ExceptionState&) const;
141 unsigned hitTestCacheHits(Document*, ExceptionState&) const; 142 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
142 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const; 143 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const;
143 void clearHitTestCache(Document*, ExceptionState&) const; 144 void clearHitTestCache(Document*, ExceptionState&) const;
144 145
145 String visiblePlaceholder(Element*); 146 String visiblePlaceholder(Element*);
146 void selectColorInColorChooser(Element*, const String& colorValue); 147 void selectColorInColorChooser(Element*, const String& colorValue);
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 408
408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 409 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
409 Member<InternalRuntimeFlags> m_runtimeFlags; 410 Member<InternalRuntimeFlags> m_runtimeFlags;
410 411
411 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 412 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
412 }; 413 };
413 414
414 } // namespace blink 415 } // namespace blink
415 416
416 #endif // Internals_h 417 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698