| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 LayoutSize minimumSizeForResizing() const; | 487 LayoutSize minimumSizeForResizing() const; |
| 488 void setMinimumSizeForResizing(const LayoutSize&); | 488 void setMinimumSizeForResizing(const LayoutSize&); |
| 489 | 489 |
| 490 virtual void didBecomeFullscreenElement() { } | 490 virtual void didBecomeFullscreenElement() { } |
| 491 virtual void willStopBeingFullscreenElement() { } | 491 virtual void willStopBeingFullscreenElement() { } |
| 492 | 492 |
| 493 bool isFinishedParsingChildren() const { return isParsingChildrenFinished();
} | 493 bool isFinishedParsingChildren() const { return isParsingChildrenFinished();
} |
| 494 virtual void finishParsingChildren(); | 494 virtual void finishParsingChildren(); |
| 495 virtual void beginParsingChildren() OVERRIDE FINAL; | 495 virtual void beginParsingChildren() OVERRIDE FINAL; |
| 496 | 496 |
| 497 bool hasPseudoElements() const; | |
| 498 PseudoElement* pseudoElement(PseudoId) const; | 497 PseudoElement* pseudoElement(PseudoId) const; |
| 499 RenderObject* pseudoElementRenderer(PseudoId) const; | 498 RenderObject* pseudoElementRenderer(PseudoId) const; |
| 500 bool childNeedsShadowWalker() const; | |
| 501 void didShadowTreeAwareChildrenChange(); | |
| 502 | 499 |
| 503 virtual bool matchesReadOnlyPseudoClass() const; | 500 virtual bool matchesReadOnlyPseudoClass() const; |
| 504 virtual bool matchesReadWritePseudoClass() const; | 501 virtual bool matchesReadWritePseudoClass() const; |
| 505 bool webkitMatchesSelector(const String& selectors, ExceptionCode&); | 502 bool webkitMatchesSelector(const String& selectors, ExceptionCode&); |
| 506 virtual bool shouldAppearIndeterminate() const; | 503 virtual bool shouldAppearIndeterminate() const; |
| 507 | 504 |
| 508 DOMTokenList* classList(); | 505 DOMTokenList* classList(); |
| 509 | 506 |
| 510 DOMStringMap* dataset(); | 507 DOMStringMap* dataset(); |
| 511 | 508 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 HTMLCollection* cachedHTMLCollection(CollectionType); | 625 HTMLCollection* cachedHTMLCollection(CollectionType); |
| 629 | 626 |
| 630 // classAttributeChanged() exists to share code between | 627 // classAttributeChanged() exists to share code between |
| 631 // parseAttribute (called via setAttribute()) and | 628 // parseAttribute (called via setAttribute()) and |
| 632 // svgAttributeChanged (called when element.className.baseValue is set) | 629 // svgAttributeChanged (called when element.className.baseValue is set) |
| 633 void classAttributeChanged(const AtomicString& newClassString); | 630 void classAttributeChanged(const AtomicString& newClassString); |
| 634 | 631 |
| 635 private: | 632 private: |
| 636 void updatePseudoElement(PseudoId, StyleChange); | 633 void updatePseudoElement(PseudoId, StyleChange); |
| 637 void createPseudoElementIfNeeded(PseudoId); | 634 void createPseudoElementIfNeeded(PseudoId); |
| 638 void setPseudoElement(PseudoId, PassRefPtr<PseudoElement>); | |
| 639 | 635 |
| 640 virtual bool areAuthorShadowsAllowed() const { return true; } | 636 virtual bool areAuthorShadowsAllowed() const { return true; } |
| 641 virtual void didAddUserAgentShadowRoot(ShadowRoot*) { } | 637 virtual void didAddUserAgentShadowRoot(ShadowRoot*) { } |
| 642 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } | 638 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } |
| 643 | 639 |
| 644 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr
ibute. | 640 // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttr
ibute. |
| 645 friend class Attr; | 641 friend class Attr; |
| 646 | 642 |
| 647 enum SynchronizationOfLazyAttribute { NotInSynchronizationOfLazyAttribute =
0, InSynchronizationOfLazyAttribute }; | 643 enum SynchronizationOfLazyAttribute { NotInSynchronizationOfLazyAttribute =
0, InSynchronizationOfLazyAttribute }; |
| 648 | 644 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 | 993 |
| 998 inline const Attribute* ElementData::attributeItem(unsigned index) const | 994 inline const Attribute* ElementData::attributeItem(unsigned index) const |
| 999 { | 995 { |
| 1000 RELEASE_ASSERT(index < length()); | 996 RELEASE_ASSERT(index < length()); |
| 1001 return attributeBase() + index; | 997 return attributeBase() + index; |
| 1002 } | 998 } |
| 1003 | 999 |
| 1004 } // namespace | 1000 } // namespace |
| 1005 | 1001 |
| 1006 #endif | 1002 #endif |
| OLD | NEW |