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