| 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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 void inlineStyleChanged(); | 807 void inlineStyleChanged(); |
| 808 void setInlineStyleFromString(const AtomicString&); | 808 void setInlineStyleFromString(const AtomicString&); |
| 809 | 809 |
| 810 // If the only inherited changes in the parent element are independent, | 810 // If the only inherited changes in the parent element are independent, |
| 811 // these changes can be directly propagated to this element (the child). | 811 // these changes can be directly propagated to this element (the child). |
| 812 // If these conditions are met, propagates the changes to the current style | 812 // If these conditions are met, propagates the changes to the current style |
| 813 // and returns the new style. Otherwise, returns null. | 813 // and returns the new style. Otherwise, returns null. |
| 814 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); | 814 PassRefPtr<ComputedStyle> propagateInheritedProperties(StyleRecalcChange); |
| 815 | 815 |
| 816 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 816 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
| 817 // TODO(nainar): Make this const ComputedStyle&. | 817 StyleRecalcChange rebuildLayoutTree(); |
| 818 StyleRecalcChange rebuildLayoutTree(ComputedStyle&); | |
| 819 | 818 |
| 820 inline void checkForEmptyStyleChange(); | 819 inline void checkForEmptyStyleChange(); |
| 821 | 820 |
| 822 void updatePseudoElement(PseudoId, StyleRecalcChange); | 821 void updatePseudoElement(PseudoId, StyleRecalcChange); |
| 823 bool updateFirstLetter(Element*); | 822 bool updateFirstLetter(Element*); |
| 824 | 823 |
| 825 inline void createPseudoElementIfNeeded(PseudoId); | 824 inline void createPseudoElementIfNeeded(PseudoId); |
| 826 | 825 |
| 827 ShadowRoot* shadowRoot() const; | 826 ShadowRoot* shadowRoot() const; |
| 828 | 827 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1151 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1153 static T* create(const QualifiedName&, Document&) | 1152 static T* create(const QualifiedName&, Document&) |
| 1154 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1153 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1155 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1154 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1156 return new T(tagName, document); \ | 1155 return new T(tagName, document); \ |
| 1157 } | 1156 } |
| 1158 | 1157 |
| 1159 } // namespace blink | 1158 } // namespace blink |
| 1160 | 1159 |
| 1161 #endif // Element_h | 1160 #endif // Element_h |
| OLD | NEW |