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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 | 648 |
649 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 649 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
650 | 650 |
651 void updatePresentationAttributeStyle(); | 651 void updatePresentationAttributeStyle(); |
652 | 652 |
653 void inlineStyleChanged(); | 653 void inlineStyleChanged(); |
654 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 654 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
655 void setInlineStyleFromString(const AtomicString&); | 655 void setInlineStyleFromString(const AtomicString&); |
656 | 656 |
657 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 657 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
658 // TODO(nainar): Make this const ComputedStyle&. | |
659 StyleRecalcChange buildLayoutTree(ComputedStyle&); | 658 StyleRecalcChange buildLayoutTree(ComputedStyle&); |
660 | 659 |
661 inline void checkForEmptyStyleChange(); | 660 inline void checkForEmptyStyleChange(); |
662 | 661 |
663 void updatePseudoElement(PseudoId, StyleRecalcChange); | 662 void updatePseudoElement(PseudoId, StyleRecalcChange); |
664 bool updateFirstLetter(Element*); | 663 bool updateFirstLetter(Element*); |
665 | 664 |
666 inline void createPseudoElementIfNeeded(PseudoId); | 665 inline void createPseudoElementIfNeeded(PseudoId); |
667 | 666 |
668 ShadowRoot* shadowRoot() const; | 667 ShadowRoot* shadowRoot() const; |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 static T* create(const QualifiedName&, Document&) | 971 static T* create(const QualifiedName&, Document&) |
973 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 972 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
974 T* T::create(const QualifiedName& tagName, Document& document) \ | 973 T* T::create(const QualifiedName& tagName, Document& document) \ |
975 { \ | 974 { \ |
976 return new T(tagName, document); \ | 975 return new T(tagName, document); \ |
977 } | 976 } |
978 | 977 |
979 } // namespace blink | 978 } // namespace blink |
980 | 979 |
981 #endif // Element_h | 980 #endif // Element_h |
OLD | NEW |