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

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

Issue 1323943008: Remove unused MarginBoxType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 PseudoPastCue, 196 PseudoPastCue,
197 PseudoUnresolved, 197 PseudoUnresolved,
198 PseudoContent, 198 PseudoContent,
199 PseudoHost, 199 PseudoHost,
200 PseudoHostContext, 200 PseudoHostContext,
201 PseudoShadow, 201 PseudoShadow,
202 PseudoSpatialNavigationFocus, 202 PseudoSpatialNavigationFocus,
203 PseudoListBox 203 PseudoListBox
204 }; 204 };
205 205
206 enum MarginBoxType {
207 TopLeftCornerMarginBox,
208 TopLeftMarginBox,
209 TopCenterMarginBox,
210 TopRightMarginBox,
211 TopRightCornerMarginBox,
212 BottomLeftCornerMarginBox,
213 BottomLeftMarginBox,
214 BottomCenterMarginBox,
215 BottomRightMarginBox,
216 BottomRightCornerMarginBox,
217 LeftTopMarginBox,
218 LeftMiddleMarginBox,
219 LeftBottomMarginBox,
220 RightTopMarginBox,
221 RightMiddleMarginBox,
222 RightBottomMarginBox,
223 };
224
225 enum AttributeMatchType { 206 enum AttributeMatchType {
226 CaseSensitive, 207 CaseSensitive,
227 CaseInsensitive, 208 CaseInsensitive,
228 }; 209 };
229 210
230 PseudoType pseudoType() const { return static_cast<PseudoType>(m_pseudoType) ; } 211 PseudoType pseudoType() const { return static_cast<PseudoType>(m_pseudoType) ; }
231 void updatePseudoType(const AtomicString&, bool hasArguments); 212 void updatePseudoType(const AtomicString&, bool hasArguments);
232 213
233 static PseudoType parsePseudoType(const AtomicString&, bool hasArguments); 214 static PseudoType parsePseudoType(const AtomicString&, bool hasArguments);
234 static PseudoId pseudoId(PseudoType); 215 static PseudoId pseudoId(PseudoType);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 if (m_hasRareData) 460 if (m_hasRareData)
480 return m_data.m_rareData->m_value; 461 return m_data.m_rareData->m_value;
481 // AtomicString is really just a StringImpl* so the cast below is safe. 462 // AtomicString is really just a StringImpl* so the cast below is safe.
482 // FIXME: Perhaps call sites could be changed to accept StringImpl? 463 // FIXME: Perhaps call sites could be changed to accept StringImpl?
483 return *reinterpret_cast<const AtomicString*>(&m_data.m_value); 464 return *reinterpret_cast<const AtomicString*>(&m_data.m_value);
484 } 465 }
485 466
486 } // namespace blink 467 } // namespace blink
487 468
488 #endif // CSSSelector_h 469 #endif // CSSSelector_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698