OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl
e Inc. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
411 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 411 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
412 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 412 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
413 void recalcStyle(StyleChange = NoChange); | 413 void recalcStyle(StyleChange = NoChange); |
414 void didAffectSelector(AffectedSelectorMask); | 414 void didAffectSelector(AffectedSelectorMask); |
415 | 415 |
416 ElementShadow* shadow() const; | 416 ElementShadow* shadow() const; |
417 ElementShadow* ensureShadow(); | 417 ElementShadow* ensureShadow(); |
418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); | 418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); |
419 ShadowRoot* shadowRoot() const; | 419 ShadowRoot* shadowRoot() const; |
| 420 void ensureDistribution(); |
420 | 421 |
421 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 422 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
422 | 423 |
423 ShadowRoot* userAgentShadowRoot() const; | 424 ShadowRoot* userAgentShadowRoot() const; |
424 ShadowRoot* ensureUserAgentShadowRoot(); | 425 ShadowRoot* ensureUserAgentShadowRoot(); |
425 | 426 |
426 virtual const AtomicString& shadowPseudoId() const; | 427 virtual const AtomicString& shadowPseudoId() const; |
427 | 428 |
428 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 429 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
429 | 430 |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 | 994 |
994 inline const Attribute* ElementData::attributeItem(unsigned index) const | 995 inline const Attribute* ElementData::attributeItem(unsigned index) const |
995 { | 996 { |
996 RELEASE_ASSERT(index < length()); | 997 RELEASE_ASSERT(index < length()); |
997 return attributeBase() + index; | 998 return attributeBase() + index; |
998 } | 999 } |
999 | 1000 |
1000 } // namespace | 1001 } // namespace |
1001 | 1002 |
1002 #endif | 1003 #endif |
OLD | NEW |