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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: Add missing nullcheck (whoops). Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index a4fe7e5d8b028d9684b25ee7ee2c142d88a8c963..349c128a6182289a4e4e6fb6c2075e61d8fafb3c 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -620,6 +620,9 @@ class CORE_EXPORT Element : public ContainerNode {
void beginParsingChildren() { setIsFinishedParsingChildren(false); }
+ ComputedStyle* pseudoStyle(PseudoId) const;
+ PassRefPtr<ComputedStyle> getUncachedPseudoStyle(PseudoId) const;
+ bool canHaveGeneratedPseudo(PseudoId) const;
rune 2017/03/13 10:29:50 Do these methods need to be public? All of them?
PseudoElement* pseudoElement(PseudoId) const;
LayoutObject* pseudoElementLayoutObject(PseudoId) const;

Powered by Google App Engine
This is Rietveld 408576698