| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2011 Google Inc. All rights reserved. | 2  * Copyright (C) 2011 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 122     PassRefPtr<Node> cloneNode(ExceptionState& exceptionState) { return cloneNod
     e(true, exceptionState); } | 122     PassRefPtr<Node> cloneNode(ExceptionState& exceptionState) { return cloneNod
     e(true, exceptionState); } | 
| 123 | 123 | 
| 124     StyleSheetList* styleSheets(); | 124     StyleSheetList* styleSheets(); | 
| 125     bool isActiveForStyling() const; | 125     bool isActiveForStyling() const; | 
| 126 | 126 | 
| 127     bool childrenSupportStyleSharing() const; | 127     bool childrenSupportStyleSharing() const; | 
| 128     bool childrenAffectedByPositionalRules() const; | 128     bool childrenAffectedByPositionalRules() const; | 
| 129     bool childrenAffectedByFirstChildRules() const; | 129     bool childrenAffectedByFirstChildRules() const; | 
| 130     bool childrenAffectedByLastChildRules() const; | 130     bool childrenAffectedByLastChildRules() const; | 
| 131     bool childrenAffectedByDirectAdjacentRules() const; | 131     bool childrenAffectedByDirectAdjacentRules() const; | 
|  | 132     bool childrenAffectedByIndirectAdjacentRules() const; | 
| 132     bool childrenAffectedByForwardPositionalRules() const; | 133     bool childrenAffectedByForwardPositionalRules() const; | 
| 133     bool childrenAffectedByBackwardPositionalRules() const; | 134     bool childrenAffectedByBackwardPositionalRules() const; | 
| 134 | 135 | 
| 135     void setChildrenAffectedByFirstChildRules(); | 136     void setChildrenAffectedByFirstChildRules(); | 
| 136     void setChildrenAffectedByLastChildRules(); | 137     void setChildrenAffectedByLastChildRules(); | 
| 137     void setChildrenAffectedByDirectAdjacentRules(); | 138     void setChildrenAffectedByDirectAdjacentRules(); | 
|  | 139     void setChildrenAffectedByIndirectAdjacentRules(); | 
| 138     void setChildrenAffectedByForwardPositionalRules(); | 140     void setChildrenAffectedByForwardPositionalRules(); | 
| 139     void setChildrenAffectedByBackwardPositionalRules(); | 141     void setChildrenAffectedByBackwardPositionalRules(); | 
| 140 | 142 | 
| 141     using Node::isFinishedParsingChildren; // make public for SelectorChecker | 143     using Node::isFinishedParsingChildren; // make public for SelectorChecker | 
| 142 | 144 | 
| 143 private: | 145 private: | 
| 144     ShadowRoot(Document&, ShadowRootType); | 146     ShadowRoot(Document&, ShadowRootType); | 
| 145     virtual ~ShadowRoot(); | 147     virtual ~ShadowRoot(); | 
| 146 | 148 | 
| 147     virtual void dispose() OVERRIDE; | 149     virtual void dispose() OVERRIDE; | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 173 { | 175 { | 
| 174     return adjustedFocusedElement(); | 176     return adjustedFocusedElement(); | 
| 175 } | 177 } | 
| 176 | 178 | 
| 177 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot()); | 179 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot()); | 
| 178 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad
     owRoot(), treeScope.rootNode().isShadowRoot()); | 180 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad
     owRoot(), treeScope.rootNode().isShadowRoot()); | 
| 179 | 181 | 
| 180 } // namespace | 182 } // namespace | 
| 181 | 183 | 
| 182 #endif | 184 #endif | 
| OLD | NEW | 
|---|