| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 84     void setChildrenAffectedByLastChildRules(bool value) { m_childrenAffectedByL
     astChildRules = value; } | 84     void setChildrenAffectedByLastChildRules(bool value) { m_childrenAffectedByL
     astChildRules = value; } | 
| 85     bool childrenAffectedByDirectAdjacentRules() const { return m_childrenAffect
     edByDirectAdjacentRules; } | 85     bool childrenAffectedByDirectAdjacentRules() const { return m_childrenAffect
     edByDirectAdjacentRules; } | 
| 86     void setChildrenAffectedByDirectAdjacentRules(bool value) { m_childrenAffect
     edByDirectAdjacentRules = value; } | 86     void setChildrenAffectedByDirectAdjacentRules(bool value) { m_childrenAffect
     edByDirectAdjacentRules = value; } | 
| 87     bool childrenAffectedByForwardPositionalRules() const { return m_childrenAff
     ectedByForwardPositionalRules; } | 87     bool childrenAffectedByForwardPositionalRules() const { return m_childrenAff
     ectedByForwardPositionalRules; } | 
| 88     void setChildrenAffectedByForwardPositionalRules(bool value) { m_childrenAff
     ectedByForwardPositionalRules = value; } | 88     void setChildrenAffectedByForwardPositionalRules(bool value) { m_childrenAff
     ectedByForwardPositionalRules = value; } | 
| 89     bool childrenAffectedByBackwardPositionalRules() const { return m_childrenAf
     fectedByBackwardPositionalRules; } | 89     bool childrenAffectedByBackwardPositionalRules() const { return m_childrenAf
     fectedByBackwardPositionalRules; } | 
| 90     void setChildrenAffectedByBackwardPositionalRules(bool value) { m_childrenAf
     fectedByBackwardPositionalRules = value; } | 90     void setChildrenAffectedByBackwardPositionalRules(bool value) { m_childrenAf
     fectedByBackwardPositionalRules = value; } | 
| 91     unsigned childIndex() const { return m_childIndex; } | 91     unsigned childIndex() const { return m_childIndex; } | 
| 92     void setChildIndex(unsigned index) { m_childIndex = index; } | 92     void setChildIndex(unsigned index) { m_childIndex = index; } | 
| 93 | 93 | 
| 94     CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(Element* ownerElement); | 94     CSSStyleDeclaration& ensureInlineCSSStyleDeclaration(Element* ownerElement); | 
| 95 | 95 | 
| 96     void clearShadow() { m_shadow = nullptr; } | 96     void clearShadow() { m_shadow = nullptr; } | 
| 97     ElementShadow* shadow() const { return m_shadow.get(); } | 97     ElementShadow* shadow() const { return m_shadow.get(); } | 
| 98     ElementShadow& ensureShadow() | 98     ElementShadow& ensureShadow() | 
| 99     { | 99     { | 
| 100         if (!m_shadow) | 100         if (!m_shadow) | 
| 101             m_shadow = ElementShadow::create(); | 101             m_shadow = ElementShadow::create(); | 
| 102         return *m_shadow; | 102         return *m_shadow; | 
| 103     } | 103     } | 
| 104 | 104 | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 130     ActiveAnimations* activeAnimations() { return m_activeAnimations.get(); } | 130     ActiveAnimations* activeAnimations() { return m_activeAnimations.get(); } | 
| 131     void setActiveAnimations(PassOwnPtr<ActiveAnimations> activeAnimations) | 131     void setActiveAnimations(PassOwnPtr<ActiveAnimations> activeAnimations) | 
| 132     { | 132     { | 
| 133         m_activeAnimations = activeAnimations; | 133         m_activeAnimations = activeAnimations; | 
| 134     } | 134     } | 
| 135 | 135 | 
| 136     bool hasPendingResources() const { return m_hasPendingResources; } | 136     bool hasPendingResources() const { return m_hasPendingResources; } | 
| 137     void setHasPendingResources(bool has) { m_hasPendingResources = has; } | 137     void setHasPendingResources(bool has) { m_hasPendingResources = has; } | 
| 138 | 138 | 
| 139     bool hasInputMethodContext() const { return m_inputMethodContext; } | 139     bool hasInputMethodContext() const { return m_inputMethodContext; } | 
| 140     InputMethodContext* ensureInputMethodContext(HTMLElement* element) | 140     InputMethodContext& ensureInputMethodContext(HTMLElement* element) | 
| 141     { | 141     { | 
| 142         if (!m_inputMethodContext) | 142         if (!m_inputMethodContext) | 
| 143             m_inputMethodContext = InputMethodContext::create(element); | 143             m_inputMethodContext = InputMethodContext::create(element); | 
| 144         return m_inputMethodContext.get(); | 144         return *m_inputMethodContext; | 
| 145     } | 145     } | 
| 146 | 146 | 
| 147     bool hasPseudoElements() const; | 147     bool hasPseudoElements() const; | 
| 148     void clearPseudoElements(); | 148     void clearPseudoElements(); | 
| 149 | 149 | 
| 150 private: | 150 private: | 
| 151     short m_tabIndex; | 151     short m_tabIndex; | 
| 152     unsigned short m_childIndex; | 152     unsigned short m_childIndex; | 
| 153     unsigned m_tabIndexWasSetExplicitly : 1; | 153     unsigned m_tabIndexWasSetExplicitly : 1; | 
| 154     unsigned m_needsFocusAppearanceUpdateSoonAfterAttach : 1; | 154     unsigned m_needsFocusAppearanceUpdateSoonAfterAttach : 1; | 
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 290     setChildrenAffectedByFirstChildRules(false); | 290     setChildrenAffectedByFirstChildRules(false); | 
| 291     setChildrenAffectedByLastChildRules(false); | 291     setChildrenAffectedByLastChildRules(false); | 
| 292     setChildrenAffectedByDirectAdjacentRules(false); | 292     setChildrenAffectedByDirectAdjacentRules(false); | 
| 293     setChildrenAffectedByForwardPositionalRules(false); | 293     setChildrenAffectedByForwardPositionalRules(false); | 
| 294     setChildrenAffectedByBackwardPositionalRules(false); | 294     setChildrenAffectedByBackwardPositionalRules(false); | 
| 295 } | 295 } | 
| 296 | 296 | 
| 297 } // namespace | 297 } // namespace | 
| 298 | 298 | 
| 299 #endif // ElementRareData_h | 299 #endif // ElementRareData_h | 
| OLD | NEW | 
|---|