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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
575 | 575 |
576 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 576 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
577 | 577 |
578 SpellcheckAttributeState spellcheckAttributeState() const; | 578 SpellcheckAttributeState spellcheckAttributeState() const; |
579 | 579 |
580 NodeIntersectionObserverData* intersectionObserverData() const; | 580 NodeIntersectionObserverData* intersectionObserverData() const; |
581 NodeIntersectionObserverData& ensureIntersectionObserverData(); | 581 NodeIntersectionObserverData& ensureIntersectionObserverData(); |
582 | 582 |
583 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv erData() const; | 583 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv erData() const; |
584 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize ObserverData(); | 584 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize ObserverData(); |
585 void sizeMightHaveChanged(); | |
eae
2016/08/01 22:30:40
sizeMayHaveChanged()
We tend to prefer the word M
atotic1
2016/08/02 23:29:08
Done.
| |
585 | 586 |
586 protected: | 587 protected: |
587 Element(const QualifiedName& tagName, Document*, ConstructionType); | 588 Element(const QualifiedName& tagName, Document*, ConstructionType); |
588 | 589 |
589 const ElementData* elementData() const { return m_elementData.get(); } | 590 const ElementData* elementData() const { return m_elementData.get(); } |
590 UniqueElementData& ensureUniqueElementData(); | 591 UniqueElementData& ensureUniqueElementData(); |
591 | 592 |
592 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier); | 593 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier); |
593 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, double value, CSSPrimitiveValue::UnitType); | 594 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, double value, CSSPrimitiveValue::UnitType); |
594 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, const String& value); | 595 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, const String& value); |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
972 static T* create(const QualifiedName&, Document&) | 973 static T* create(const QualifiedName&, Document&) |
973 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 974 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
974 T* T::create(const QualifiedName& tagName, Document& document) \ | 975 T* T::create(const QualifiedName& tagName, Document& document) \ |
975 { \ | 976 { \ |
976 return new T(tagName, document); \ | 977 return new T(tagName, document); \ |
977 } | 978 } |
978 | 979 |
979 } // namespace blink | 980 } // namespace blink |
980 | 981 |
981 #endif // Element_h | 982 #endif // Element_h |
OLD | NEW |