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

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

Issue 1958073002: Introduce :-internal-shadow-host-has-appearance pseudo class, and apply it to METER element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove null host check Created 4 years, 7 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 PseudoSingleButton, 186 PseudoSingleButton,
187 PseudoNoButton, 187 PseudoNoButton,
188 PseudoSelection, 188 PseudoSelection,
189 PseudoLeftPage, 189 PseudoLeftPage,
190 PseudoRightPage, 190 PseudoRightPage,
191 PseudoFirstPage, 191 PseudoFirstPage,
192 PseudoFullScreen, 192 PseudoFullScreen,
193 PseudoFullScreenAncestor, 193 PseudoFullScreenAncestor,
194 PseudoInRange, 194 PseudoInRange,
195 PseudoOutOfRange, 195 PseudoOutOfRange,
196 // Pseudo elements in UA ShadowRoots. Available in any stylesheets.
196 PseudoWebKitCustomElement, 197 PseudoWebKitCustomElement,
198 // Pseudo elements in UA ShadowRoots. Availble only in UA stylesheets.
199 PseudoBlinkInternalElement,
197 PseudoCue, 200 PseudoCue,
198 PseudoFutureCue, 201 PseudoFutureCue,
199 PseudoPastCue, 202 PseudoPastCue,
200 PseudoUnresolved, 203 PseudoUnresolved,
201 PseudoContent, 204 PseudoContent,
202 PseudoHost, 205 PseudoHost,
203 PseudoHostContext, 206 PseudoHostContext,
204 PseudoShadow, 207 PseudoShadow,
205 PseudoSpatialNavigationFocus, 208 PseudoSpatialNavigationFocus,
206 PseudoListBox, 209 PseudoListBox,
210 PseudoHostHasAppearance,
207 PseudoSlotted 211 PseudoSlotted
208 }; 212 };
209 213
210 enum AttributeMatchType { 214 enum AttributeMatchType {
211 CaseSensitive, 215 CaseSensitive,
212 CaseInsensitive, 216 CaseInsensitive,
213 }; 217 };
214 218
215 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy pe); } 219 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy pe); }
216 void updatePseudoType(const AtomicString&, bool hasArguments); 220 void updatePseudoType(const AtomicString&, bool hasArguments);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 if (m_hasRareData) 479 if (m_hasRareData)
476 return m_data.m_rareData->m_serializingValue; 480 return m_data.m_rareData->m_serializingValue;
477 // AtomicString is really just a StringImpl* so the cast below is safe. 481 // AtomicString is really just a StringImpl* so the cast below is safe.
478 // FIXME: Perhaps call sites could be changed to accept StringImpl? 482 // FIXME: Perhaps call sites could be changed to accept StringImpl?
479 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 483 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
480 } 484 }
481 485
482 } // namespace blink 486 } // namespace blink
483 487
484 #endif // CSSSelector_h 488 #endif // CSSSelector_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698