| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2012 Google Inc. All rights reserved. | 2  * Copyright (C) 2012 Google Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions are | 5  * modification, are permitted provided that the following conditions are | 
| 6  * met: | 6  * met: | 
| 7  * | 7  * | 
| 8  *     * Redistributions of source code must retain the above copyright | 8  *     * Redistributions of source code must retain the above copyright | 
| 9  * notice, this list of conditions and the following disclaimer. | 9  * notice, this list of conditions and the following disclaimer. | 
| 10  *     * Neither the name of Google Inc. nor the names of its | 10  *     * Neither the name of Google Inc. nor the names of its | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50     ShadowRoot* youngestShadowRoot() const { return m_shadowRoots.head(); } | 50     ShadowRoot* youngestShadowRoot() const { return m_shadowRoots.head(); } | 
| 51     ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); } | 51     ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); } | 
| 52     ElementShadow* containingShadow() const; | 52     ElementShadow* containingShadow() const; | 
| 53 | 53 | 
| 54     ShadowRoot* addShadowRoot(Element* shadowHost, ShadowRoot::ShadowRootType); | 54     ShadowRoot* addShadowRoot(Element* shadowHost, ShadowRoot::ShadowRootType); | 
| 55 | 55 | 
| 56     bool applyAuthorStyles() const { return m_applyAuthorStyles; } | 56     bool applyAuthorStyles() const { return m_applyAuthorStyles; } | 
| 57     bool didAffectApplyAuthorStyles(); | 57     bool didAffectApplyAuthorStyles(); | 
| 58     bool containsActiveStyles() const; | 58     bool containsActiveStyles() const; | 
| 59 | 59 | 
| 60     void attach(const Node::AttachContext&); | 60     void createRenderTree(const Node::AttachContext&); | 
| 61     void detach(const Node::AttachContext&); | 61     void destroyRenderTree(const Node::AttachContext&); | 
| 62 | 62 | 
| 63     void removeAllEventListeners(); | 63     void removeAllEventListeners(); | 
| 64 | 64 | 
| 65     void didAffectSelector(AffectedSelectorMask); | 65     void didAffectSelector(AffectedSelectorMask); | 
| 66     void willAffectSelector(); | 66     void willAffectSelector(); | 
| 67     const SelectRuleFeatureSet& ensureSelectFeatureSet(); | 67     const SelectRuleFeatureSet& ensureSelectFeatureSet(); | 
| 68 | 68 | 
| 69     void distributeIfNeeded(); | 69     void distributeIfNeeded(); | 
| 70     void setNeedsDistributionRecalc(); | 70     void setNeedsDistributionRecalc(); | 
| 71 | 71 | 
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 130         return 0; | 130         return 0; | 
| 131     if (Node* parent = node->parentNode()) | 131     if (Node* parent = node->parentNode()) | 
| 132         if (parent->isElementNode()) | 132         if (parent->isElementNode()) | 
| 133             return toElement(parent)->shadow(); | 133             return toElement(parent)->shadow(); | 
| 134     return 0; | 134     return 0; | 
| 135 } | 135 } | 
| 136 | 136 | 
| 137 } // namespace | 137 } // namespace | 
| 138 | 138 | 
| 139 #endif | 139 #endif | 
| OLD | NEW | 
|---|