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

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

Issue 1280423002: CSS4: Implement :placeholder-shown pseudo class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 PseudoHover, 143 PseudoHover,
144 PseudoDrag, 144 PseudoDrag,
145 PseudoFocus, 145 PseudoFocus,
146 PseudoActive, 146 PseudoActive,
147 PseudoChecked, 147 PseudoChecked,
148 PseudoEnabled, 148 PseudoEnabled,
149 PseudoFullPageMedia, 149 PseudoFullPageMedia,
150 PseudoDefault, 150 PseudoDefault,
151 PseudoDisabled, 151 PseudoDisabled,
152 PseudoOptional, 152 PseudoOptional,
153 PseudoPlaceholderShown,
153 PseudoRequired, 154 PseudoRequired,
154 PseudoReadOnly, 155 PseudoReadOnly,
155 PseudoReadWrite, 156 PseudoReadWrite,
156 PseudoValid, 157 PseudoValid,
157 PseudoInvalid, 158 PseudoInvalid,
158 PseudoIndeterminate, 159 PseudoIndeterminate,
159 PseudoTarget, 160 PseudoTarget,
160 PseudoBefore, 161 PseudoBefore,
161 PseudoAfter, 162 PseudoAfter,
162 PseudoBackdrop, 163 PseudoBackdrop,
(...skipping 316 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_value; 481 return m_data.m_rareData->m_value;
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