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

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

Issue 1989343002: Implement :defined pseudo-class selector for Custom Elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ce-state
Patch Set: rune and dominicc review, test updated Created 4 years, 6 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) 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 PseudoInRange, 194 PseudoInRange,
195 PseudoOutOfRange, 195 PseudoOutOfRange,
196 // Pseudo elements in UA ShadowRoots. Available in any stylesheets. 196 // Pseudo elements in UA ShadowRoots. Available in any stylesheets.
197 PseudoWebKitCustomElement, 197 PseudoWebKitCustomElement,
198 // Pseudo elements in UA ShadowRoots. Availble only in UA stylesheets. 198 // Pseudo elements in UA ShadowRoots. Availble only in UA stylesheets.
199 PseudoBlinkInternalElement, 199 PseudoBlinkInternalElement,
200 PseudoCue, 200 PseudoCue,
201 PseudoFutureCue, 201 PseudoFutureCue,
202 PseudoPastCue, 202 PseudoPastCue,
203 PseudoUnresolved, 203 PseudoUnresolved,
204 PseudoDefined,
204 PseudoContent, 205 PseudoContent,
205 PseudoHost, 206 PseudoHost,
206 PseudoHostContext, 207 PseudoHostContext,
207 PseudoShadow, 208 PseudoShadow,
208 PseudoSpatialNavigationFocus, 209 PseudoSpatialNavigationFocus,
209 PseudoListBox, 210 PseudoListBox,
210 PseudoHostHasAppearance, 211 PseudoHostHasAppearance,
211 PseudoSlotted 212 PseudoSlotted
212 }; 213 };
213 214
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 if (m_hasRareData) 480 if (m_hasRareData)
480 return m_data.m_rareData->m_serializingValue; 481 return m_data.m_rareData->m_serializingValue;
481 // AtomicString is really just a StringImpl* so the cast below is safe. 482 // AtomicString is really just a StringImpl* so the cast below is safe.
482 // FIXME: Perhaps call sites could be changed to accept StringImpl? 483 // FIXME: Perhaps call sites could be changed to accept StringImpl?
483 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 484 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
484 } 485 }
485 486
486 } // namespace blink 487 } // namespace blink
487 488
488 #endif // CSSSelector_h 489 #endif // CSSSelector_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698