| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void setInnerHTML(const String&, ExceptionCode&); | 71 void setInnerHTML(const String&, ExceptionCode&); |
| 72 | 72 |
| 73 Element* activeElement() const; | 73 Element* activeElement() const; |
| 74 | 74 |
| 75 ShadowRoot* youngerShadowRoot() const { return prev(); } | 75 ShadowRoot* youngerShadowRoot() const { return prev(); } |
| 76 ShadowRoot* olderShadowRoot() const { return next(); } | 76 ShadowRoot* olderShadowRoot() const { return next(); } |
| 77 | 77 |
| 78 bool isYoungest() const { return !youngerShadowRoot(); } | 78 bool isYoungest() const { return !youngerShadowRoot(); } |
| 79 bool isOldest() const { return !olderShadowRoot(); } | 79 bool isOldest() const { return !olderShadowRoot(); } |
| 80 | 80 |
| 81 virtual void attach(); | 81 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 82 | 82 |
| 83 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 83 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 84 virtual void removedFrom(ContainerNode*) OVERRIDE; | 84 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 85 | 85 |
| 86 virtual void registerScopedHTMLStyleChild() OVERRIDE; | 86 virtual void registerScopedHTMLStyleChild() OVERRIDE; |
| 87 virtual void unregisterScopedHTMLStyleChild() OVERRIDE; | 87 virtual void unregisterScopedHTMLStyleChild() OVERRIDE; |
| 88 | 88 |
| 89 ScopeContentDistribution* scopeDistribution() { return m_scopeDistribution.g
et(); } | 89 ScopeContentDistribution* scopeDistribution() { return m_scopeDistribution.g
et(); } |
| 90 const ScopeContentDistribution* scopeDistribution() const { return m_scopeDi
stribution.get(); } | 90 const ScopeContentDistribution* scopeDistribution() const { return m_scopeDi
stribution.get(); } |
| 91 ScopeContentDistribution* ensureScopeDistribution(); | 91 ScopeContentDistribution* ensureScopeDistribution(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 } | 135 } |
| 136 | 136 |
| 137 inline ShadowRoot* toShadowRoot(Node* node) | 137 inline ShadowRoot* toShadowRoot(Node* node) |
| 138 { | 138 { |
| 139 return const_cast<ShadowRoot*>(toShadowRoot(static_cast<const Node*>(node)))
; | 139 return const_cast<ShadowRoot*>(toShadowRoot(static_cast<const Node*>(node)))
; |
| 140 } | 140 } |
| 141 | 141 |
| 142 } // namespace | 142 } // namespace |
| 143 | 143 |
| 144 #endif | 144 #endif |
| OLD | NEW |