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

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

Issue 2553343004: IntersectionObserver: use nullptr for implicit root. (Closed)
Patch Set: rebase Created 4 years 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 class DOMStringMap; 54 class DOMStringMap;
55 class DOMTokenList; 55 class DOMTokenList;
56 class ElementRareData; 56 class ElementRareData;
57 class ElementShadow; 57 class ElementShadow;
58 class ExceptionState; 58 class ExceptionState;
59 class Image; 59 class Image;
60 class InputDeviceCapabilities; 60 class InputDeviceCapabilities;
61 class Locale; 61 class Locale;
62 class MutableStylePropertySet; 62 class MutableStylePropertySet;
63 class NamedNodeMap; 63 class NamedNodeMap;
64 class NodeIntersectionObserverData; 64 class ElementIntersectionObserverData;
65 class PseudoElement; 65 class PseudoElement;
66 class ResizeObservation; 66 class ResizeObservation;
67 class ResizeObserver; 67 class ResizeObserver;
68 class ScrollState; 68 class ScrollState;
69 class ScrollStateCallback; 69 class ScrollStateCallback;
70 class ScrollToOptions; 70 class ScrollToOptions;
71 class ShadowRoot; 71 class ShadowRoot;
72 class ShadowRootInit; 72 class ShadowRootInit;
73 class StylePropertySet; 73 class StylePropertySet;
74 class StylePropertyMap; 74 class StylePropertyMap;
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 const QualifiedName& attributeName, 710 const QualifiedName& attributeName,
711 const AtomicString& oldValue, 711 const AtomicString& oldValue,
712 const AtomicString& newValue); 712 const AtomicString& newValue);
713 713
714 DECLARE_VIRTUAL_TRACE(); 714 DECLARE_VIRTUAL_TRACE();
715 715
716 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 716 DECLARE_VIRTUAL_TRACE_WRAPPERS();
717 717
718 SpellcheckAttributeState spellcheckAttributeState() const; 718 SpellcheckAttributeState spellcheckAttributeState() const;
719 719
720 NodeIntersectionObserverData* intersectionObserverData() const; 720 ElementIntersectionObserverData* intersectionObserverData() const;
721 NodeIntersectionObserverData& ensureIntersectionObserverData(); 721 ElementIntersectionObserverData& ensureIntersectionObserverData();
722 722
723 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* 723 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>*
724 resizeObserverData() const; 724 resizeObserverData() const;
725 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& 725 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>&
726 ensureResizeObserverData(); 726 ensureResizeObserverData();
727 void setNeedsResizeObserverUpdate(); 727 void setNeedsResizeObserverUpdate();
728 728
729 protected: 729 protected:
730 Element(const QualifiedName& tagName, Document*, ConstructionType); 730 Element(const QualifiedName& tagName, Document*, ConstructionType);
731 731
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1174 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1175 static T* create(const QualifiedName&, Document&) 1175 static T* create(const QualifiedName&, Document&)
1176 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1176 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1177 T* T::create(const QualifiedName& tagName, Document& document) { \ 1177 T* T::create(const QualifiedName& tagName, Document& document) { \
1178 return new T(tagName, document); \ 1178 return new T(tagName, document); \
1179 } 1179 }
1180 1180
1181 } // namespace blink 1181 } // namespace blink
1182 1182
1183 #endif // Element_h 1183 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698