| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 class HTMLElement; | 39 class HTMLElement; |
| 40 | 40 |
| 41 class ElementRareData : public NodeRareData { | 41 class ElementRareData : public NodeRareData { |
| 42 public: | 42 public: |
| 43 static PassOwnPtr<ElementRareData> create(RenderObject* renderer) { return a
doptPtr(new ElementRareData(renderer)); } | 43 static PassOwnPtr<ElementRareData> create(RenderObject* renderer) { return a
doptPtr(new ElementRareData(renderer)); } |
| 44 | 44 |
| 45 ~ElementRareData(); | 45 ~ElementRareData(); |
| 46 | 46 |
| 47 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>); | 47 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>); |
| 48 PseudoElement* pseudoElement(PseudoId) const; | 48 PseudoElement* pseudoElement(PseudoId) const; |
| 49 bool hasPseudoElements() const { return m_generatedBefore || m_generatedAfte
r; } | |
| 50 | 49 |
| 51 void resetComputedStyle(); | 50 void resetComputedStyle(); |
| 52 void resetDynamicRestyleObservations(); | 51 void resetDynamicRestyleObservations(); |
| 53 | 52 |
| 54 short tabIndex() const { return m_tabIndex; } | 53 short tabIndex() const { return m_tabIndex; } |
| 55 void setTabIndexExplicitly(short index) { m_tabIndex = index; m_tabIndexWasS
etExplicitly = true; } | 54 void setTabIndexExplicitly(short index) { m_tabIndex = index; m_tabIndexWasS
etExplicitly = true; } |
| 56 bool tabIndexSetExplicitly() const { return m_tabIndexWasSetExplicitly; } | 55 bool tabIndexSetExplicitly() const { return m_tabIndexWasSetExplicitly; } |
| 57 void clearTabIndexExplicitly() { m_tabIndex = 0; m_tabIndexWasSetExplicitly
= false; } | 56 void clearTabIndexExplicitly() { m_tabIndex = 0; m_tabIndexWasSetExplicitly
= false; } |
| 58 | 57 |
| 59 bool needsFocusAppearanceUpdateSoonAfterAttach() const { return m_needsFocus
AppearanceUpdateSoonAfterAttach; } | 58 bool needsFocusAppearanceUpdateSoonAfterAttach() const { return m_needsFocus
AppearanceUpdateSoonAfterAttach; } |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 setChildrenAffectedByFirstChildRules(false); | 275 setChildrenAffectedByFirstChildRules(false); |
| 277 setChildrenAffectedByLastChildRules(false); | 276 setChildrenAffectedByLastChildRules(false); |
| 278 setChildrenAffectedByDirectAdjacentRules(false); | 277 setChildrenAffectedByDirectAdjacentRules(false); |
| 279 setChildrenAffectedByForwardPositionalRules(false); | 278 setChildrenAffectedByForwardPositionalRules(false); |
| 280 setChildrenAffectedByBackwardPositionalRules(false); | 279 setChildrenAffectedByBackwardPositionalRules(false); |
| 281 } | 280 } |
| 282 | 281 |
| 283 } // namespace | 282 } // namespace |
| 284 | 283 |
| 285 #endif // ElementRareData_h | 284 #endif // ElementRareData_h |
| OLD | NEW |