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

Side by Side Diff: Source/core/css/CSSSelector.h

Issue 183853035: Renamed /shadow-all/ to /shadow/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * 1999 Waldo Bastian (bastian@kde.org) 3 * 1999 Waldo Bastian (bastian@kde.org)
4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 PagePseudoClass // ?? 122 PagePseudoClass // ??
123 }; 123 };
124 124
125 enum Relation { 125 enum Relation {
126 Descendant = 0, // "Space" combinator 126 Descendant = 0, // "Space" combinator
127 Child, // > combinator 127 Child, // > combinator
128 DirectAdjacent, // + combinator 128 DirectAdjacent, // + combinator
129 IndirectAdjacent, // ~ combinator 129 IndirectAdjacent, // ~ combinator
130 SubSelector, // "No space" combinator 130 SubSelector, // "No space" combinator
131 ShadowPseudo, // Special case of shadow DOM pseudo elements 131 ShadowPseudo, // Special case of shadow DOM pseudo elements
132 // FIXME: implement named combinator and replace the following /shad ow/, /shadow-all/ and 132 // FIXME: implement named combinator (i.e. named relation) and
133 // /shadow-deep/ with named combinator's implementation. 133 // replace the following /shadow/ and /shadow-deep/ with the impleme ntation.
134 ShadowAll, 134 Shadow, // /shadow/ combinator
135 ShadowDeep 135 ShadowDeep // /shadow-deep/ combinator
136 }; 136 };
137 137
138 enum PseudoType { 138 enum PseudoType {
139 PseudoNotParsed = 0, 139 PseudoNotParsed = 0,
140 PseudoUnknown, 140 PseudoUnknown,
141 PseudoEmpty, 141 PseudoEmpty,
142 PseudoFirstChild, 142 PseudoFirstChild,
143 PseudoFirstOfType, 143 PseudoFirstOfType,
144 PseudoLastChild, 144 PseudoLastChild,
145 PseudoLastOfType, 145 PseudoLastOfType,
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 if (m_hasRareData) 515 if (m_hasRareData)
516 return m_data.m_rareData->m_value; 516 return m_data.m_rareData->m_value;
517 // AtomicString is really just a StringImpl* so the cast below is safe. 517 // AtomicString is really just a StringImpl* so the cast below is safe.
518 // FIXME: Perhaps call sites could be changed to accept StringImpl? 518 // FIXME: Perhaps call sites could be changed to accept StringImpl?
519 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 519 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
520 } 520 }
521 521
522 } // namespace WebCore 522 } // namespace WebCore
523 523
524 #endif // CSSSelector_h 524 #endif // CSSSelector_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698