Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2242773003: Revert of ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 584
585 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 585 DECLARE_VIRTUAL_TRACE_WRAPPERS();
586 586
587 SpellcheckAttributeState spellcheckAttributeState() const; 587 SpellcheckAttributeState spellcheckAttributeState() const;
588 588
589 NodeIntersectionObserverData* intersectionObserverData() const; 589 NodeIntersectionObserverData* intersectionObserverData() const;
590 NodeIntersectionObserverData& ensureIntersectionObserverData(); 590 NodeIntersectionObserverData& ensureIntersectionObserverData();
591 591
592 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv erData() const; 592 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv erData() const;
593 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize ObserverData(); 593 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize ObserverData();
594 void setNeedsResizeObserverUpdate();
595 594
596 protected: 595 protected:
597 Element(const QualifiedName& tagName, Document*, ConstructionType); 596 Element(const QualifiedName& tagName, Document*, ConstructionType);
598 597
599 const ElementData* elementData() const { return m_elementData.get(); } 598 const ElementData* elementData() const { return m_elementData.get(); }
600 UniqueElementData& ensureUniqueElementData(); 599 UniqueElementData& ensureUniqueElementData();
601 600
602 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier); 601 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, CSSValueID identifier);
603 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, double value, CSSPrimitiveValue::UnitType); 602 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, double value, CSSPrimitiveValue::UnitType);
604 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, const String& value); 603 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr opertyID, const String& value);
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 static T* create(const QualifiedName&, Document&) 981 static T* create(const QualifiedName&, Document&)
983 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 982 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
984 T* T::create(const QualifiedName& tagName, Document& document) \ 983 T* T::create(const QualifiedName& tagName, Document& document) \
985 { \ 984 { \
986 return new T(tagName, document); \ 985 return new T(tagName, document); \
987 } 986 }
988 987
989 } // namespace blink 988 } // namespace blink
990 989
991 #endif // Element_h 990 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/resize-observer/svg.html ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698