summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/dom/node.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-10-26 13:57:00 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-11-02 11:31:01 +0000
commit1943b3c2a1dcee36c233724fc4ee7613d71b9cf6 (patch)
tree8c1b5f12357025c197da5427ae02cfdc2f3570d6 /chromium/third_party/blink/renderer/core/dom/node.h
parent21ba0c5d4bf8fba15dddd97cd693bad2358b77fd (diff)
downloadqtwebengine-chromium-1943b3c2a1dcee36c233724fc4ee7613d71b9cf6.tar.gz
BASELINE: Update Chromium to 94.0.4606.111
Change-Id: I924781584def20fc800bedf6ff41fdb96c438193 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/dom/node.h')
-rw-r--r--chromium/third_party/blink/renderer/core/dom/node.h30
1 files changed, 5 insertions, 25 deletions
diff --git a/chromium/third_party/blink/renderer/core/dom/node.h b/chromium/third_party/blink/renderer/core/dom/node.h
index 8fa516f2591..ab0a31b041d 100644
--- a/chromium/third_party/blink/renderer/core/dom/node.h
+++ b/chromium/third_party/blink/renderer/core/dom/node.h
@@ -27,7 +27,6 @@
#define THIRD_PARTY_BLINK_RENDERER_CORE_DOM_NODE_H_
#include "base/dcheck_is_on.h"
-#include "base/macros.h"
#include "third_party/blink/public/mojom/input/focus_type.mojom-blink-forward.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/dom/events/event_target.h"
@@ -67,7 +66,6 @@ class MutationObserver;
class MutationObserverRegistration;
class NodeList;
class NodeListsNodeData;
-class NodeOrStringOrTrustedScript;
class NodeRareData;
class QualifiedName;
class RegisteredEventListener;
@@ -79,7 +77,6 @@ class ShadowRoot;
template <typename NodeType>
class StaticNodeTypeList;
using StaticNodeList = StaticNodeTypeList<Node>;
-class StringOrTrustedScript;
class StyleChangeReasonForTracing;
class V8ScrollStateCallback;
class V8UnionNodeOrStringOrTrustedScript;
@@ -240,7 +237,6 @@ class CORE_EXPORT Node : public EventTarget {
// https://dom.spec.whatwg.org/#concept-closed-shadow-hidden
bool IsClosedShadowHiddenFrom(const Node&) const;
-#if defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
void Prepend(
const HeapVector<Member<V8UnionNodeOrStringOrTrustedScript>>& nodes,
ExceptionState& exception_state);
@@ -259,16 +255,6 @@ class CORE_EXPORT Node : public EventTarget {
void ReplaceChildren(
const HeapVector<Member<V8UnionNodeOrStringOrTrustedScript>>& nodes,
ExceptionState& exception_state);
-#else // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
- void Prepend(const HeapVector<NodeOrStringOrTrustedScript>&, ExceptionState&);
- void Append(const HeapVector<NodeOrStringOrTrustedScript>&, ExceptionState&);
- void Before(const HeapVector<NodeOrStringOrTrustedScript>&, ExceptionState&);
- void After(const HeapVector<NodeOrStringOrTrustedScript>&, ExceptionState&);
- void ReplaceWith(const HeapVector<NodeOrStringOrTrustedScript>&,
- ExceptionState&);
- void ReplaceChildren(const HeapVector<NodeOrStringOrTrustedScript>&,
- ExceptionState&);
-#endif // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
void remove(ExceptionState&);
void remove();
@@ -304,16 +290,10 @@ class CORE_EXPORT Node : public EventTarget {
String textContent(bool convert_brs_to_newlines = false) const;
virtual void setTextContent(const String&);
-#if defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
V8UnionStringOrTrustedScript* textContentForBinding() const;
virtual void setTextContentForBinding(
const V8UnionStringOrTrustedScript* value,
ExceptionState& exception_state);
-#else // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
- void textContentForBinding(StringOrTrustedScript& result);
- virtual void setTextContentForBinding(const StringOrTrustedScript&,
- ExceptionState&);
-#endif // defined(USE_BLINK_V8_BINDING_NEW_IDL_UNION)
bool SupportsAltText();
@@ -751,10 +731,10 @@ class CORE_EXPORT Node : public EventTarget {
// Note that the following 'inline' functions are not defined in this header,
// but in node_computed_style.h. Please include that file if you want to use
// these functions.
- ComputedStyle* MutableComputedStyleForEditingDeprecated() const;
- const ComputedStyle* GetComputedStyle() const;
- const ComputedStyle* ParentComputedStyle() const;
- const ComputedStyle& ComputedStyleRef() const;
+ inline ComputedStyle* MutableComputedStyleForEditingDeprecated() const;
+ inline const ComputedStyle* GetComputedStyle() const;
+ inline const ComputedStyle* ParentComputedStyle() const;
+ inline const ComputedStyle& ComputedStyleRef() const;
bool ShouldSkipMarkingStyleDirty() const;
const ComputedStyle* EnsureComputedStyle(
@@ -839,7 +819,7 @@ class CORE_EXPORT Node : public EventTarget {
void ClearFlatTreeNodeData();
void ClearFlatTreeNodeDataIfHostChanged(const ContainerNode& parent);
- virtual bool WillRespondToMouseMoveEvents();
+ virtual bool WillRespondToMouseMoveEvents() const;
virtual bool WillRespondToMouseClickEvents();
enum ShadowTreesTreatment {