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

Side by Side Diff: sky/engine/core/css/CSSSelector.h

Issue 842033004: Remove custom element :unresolved. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 }; 114 };
115 115
116 enum PseudoType { 116 enum PseudoType {
117 PseudoNotParsed = 0, 117 PseudoNotParsed = 0,
118 PseudoUnknown, 118 PseudoUnknown,
119 PseudoHover, 119 PseudoHover,
120 PseudoFocus, 120 PseudoFocus,
121 PseudoActive, 121 PseudoActive,
122 PseudoLang, 122 PseudoLang,
123 PseudoUserAgentCustomElement, 123 PseudoUserAgentCustomElement,
124 PseudoUnresolved,
125 PseudoHost, 124 PseudoHost,
126 }; 125 };
127 126
128 enum AttributeMatchType { 127 enum AttributeMatchType {
129 CaseSensitive, 128 CaseSensitive,
130 CaseInsensitive, 129 CaseInsensitive,
131 }; 130 };
132 131
133 PseudoType pseudoType() const 132 PseudoType pseudoType() const
134 { 133 {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (m_hasRareData) 340 if (m_hasRareData)
342 return m_data.m_rareData->m_value; 341 return m_data.m_rareData->m_value;
343 // AtomicString is really just a StringImpl* so the cast below is safe. 342 // AtomicString is really just a StringImpl* so the cast below is safe.
344 // FIXME: Perhaps call sites could be changed to accept StringImpl? 343 // FIXME: Perhaps call sites could be changed to accept StringImpl?
345 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 344 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
346 } 345 }
347 346
348 } // namespace blink 347 } // namespace blink
349 348
350 #endif // SKY_ENGINE_CORE_CSS_CSSSELECTOR_H_ 349 #endif // SKY_ENGINE_CORE_CSS_CSSSELECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698