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

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: 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 PseudoCue, 197 PseudoCue,
198 PseudoFutureCue, 198 PseudoFutureCue,
199 PseudoPastCue, 199 PseudoPastCue,
200 PseudoUnresolved, 200 PseudoUnresolved,
201 PseudoContent, 201 PseudoContent,
202 PseudoHost, 202 PseudoHost,
203 PseudoHostContext, 203 PseudoHostContext,
204 PseudoShadow, 204 PseudoShadow,
205 PseudoSpatialNavigationFocus, 205 PseudoSpatialNavigationFocus,
206 PseudoListBox, 206 PseudoListBox,
207 PseudoHostHasAppearance,
207 PseudoSlotted 208 PseudoSlotted
208 }; 209 };
209 210
210 enum AttributeMatchType { 211 enum AttributeMatchType {
211 CaseSensitive, 212 CaseSensitive,
212 CaseInsensitive, 213 CaseInsensitive,
213 }; 214 };
214 215
215 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy pe); } 216 PseudoType getPseudoType() const { return static_cast<PseudoType>(m_pseudoTy pe); }
216 void updatePseudoType(const AtomicString&, bool hasArguments); 217 void updatePseudoType(const AtomicString&, bool hasArguments);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 if (m_hasRareData) 476 if (m_hasRareData)
476 return m_data.m_rareData->m_serializingValue; 477 return m_data.m_rareData->m_serializingValue;
477 // AtomicString is really just a StringImpl* so the cast below is safe. 478 // AtomicString is really just a StringImpl* so the cast below is safe.
478 // FIXME: Perhaps call sites could be changed to accept StringImpl? 479 // FIXME: Perhaps call sites could be changed to accept StringImpl?
479 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 480 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
480 } 481 }
481 482
482 } // namespace blink 483 } // namespace blink
483 484
484 #endif // CSSSelector_h 485 #endif // CSSSelector_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698