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-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 | 660 |
661 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 661 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
662 | 662 |
663 void updatePresentationAttributeStyle(); | 663 void updatePresentationAttributeStyle(); |
664 | 664 |
665 void inlineStyleChanged(); | 665 void inlineStyleChanged(); |
666 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 666 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
667 void setInlineStyleFromString(const AtomicString&); | 667 void setInlineStyleFromString(const AtomicString&); |
668 | 668 |
669 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 669 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
670 // TODO(nainar): Make this const ComputedStyle&. | 670 StyleRecalcChange buildLayoutTree(); |
671 StyleRecalcChange buildLayoutTree(ComputedStyle&); | |
672 | 671 |
673 inline void checkForEmptyStyleChange(); | 672 inline void checkForEmptyStyleChange(); |
674 | 673 |
675 void updatePseudoElement(PseudoId, StyleRecalcChange); | 674 void updatePseudoElement(PseudoId, StyleRecalcChange); |
676 bool updateFirstLetter(Element*); | 675 bool updateFirstLetter(Element*); |
677 | 676 |
678 inline void createPseudoElementIfNeeded(PseudoId); | 677 inline void createPseudoElementIfNeeded(PseudoId); |
679 | 678 |
680 ShadowRoot* shadowRoot() const; | 679 ShadowRoot* shadowRoot() const; |
681 | 680 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 static T* create(const QualifiedName&, Document&) | 983 static T* create(const QualifiedName&, Document&) |
985 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 984 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
986 T* T::create(const QualifiedName& tagName, Document& document) \ | 985 T* T::create(const QualifiedName& tagName, Document& document) \ |
987 { \ | 986 { \ |
988 return new T(tagName, document); \ | 987 return new T(tagName, document); \ |
989 } | 988 } |
990 | 989 |
991 } // namespace blink | 990 } // namespace blink |
992 | 991 |
993 #endif // Element_h | 992 #endif // Element_h |
OLD | NEW |