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

Unified Diff: Source/core/css/CSSSelector.h

Issue 196983005: Replace big code block to build CSS pseudo name table with a loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleaned up after review. Created 6 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
« no previous file with comments | « no previous file | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSSelector.h
diff --git a/Source/core/css/CSSSelector.h b/Source/core/css/CSSSelector.h
index 814b6726ca9540d21b974f25adcefdb3ec515976..7f8327d5ed458d9b1c457e8941fb5e1e64c5498d 100644
--- a/Source/core/css/CSSSelector.h
+++ b/Source/core/css/CSSSelector.h
@@ -221,6 +221,11 @@ namespace WebCore {
PseudoAncestor
};
+ enum OptionalPseudoTypeRequirements {
+ // 0 is used to mean "no requirements".
+ RequiresShadowDOM = 1
+ };
+
enum MarginBoxType {
TopLeftCornerMarginBox,
TopLeftMarginBox,
« no previous file with comments | « no previous file | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698