summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/dom/node.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 11:40:17 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-24 12:42:11 +0000
commit5d87695f37678f96492b258bbab36486c59866b4 (patch)
treebe9783bbaf04fb930c4d74ca9c00b5e7954c8bc6 /chromium/third_party/blink/renderer/core/dom/node.h
parent6c11fb357ec39bf087b8b632e2b1e375aef1b38b (diff)
downloadqtwebengine-chromium-5d87695f37678f96492b258bbab36486c59866b4.tar.gz
BASELINE: Update Chromium to 75.0.3770.56
Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f Reviewed-by: Alexandru Croitor <alexandru.croitor@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.h26
1 files changed, 18 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/core/dom/node.h b/chromium/third_party/blink/renderer/core/dom/node.h
index 36650884798..8aad9776153 100644
--- a/chromium/third_party/blink/renderer/core/dom/node.h
+++ b/chromium/third_party/blink/renderer/core/dom/node.h
@@ -36,7 +36,6 @@
#include "third_party/blink/renderer/core/dom/tree_scope.h"
#include "third_party/blink/renderer/core/scroll/scroll_customization.h"
#include "third_party/blink/renderer/core/style/computed_style_constants.h"
-#include "third_party/blink/renderer/platform/bindings/trace_wrapper_member.h"
#include "third_party/blink/renderer/platform/geometry/layout_rect.h"
// This needs to be here because element.cc also depends on it.
@@ -111,6 +110,17 @@ enum class SlotChangeType {
enum class CloneChildrenFlag { kClone, kSkip };
+// Whether or not to force creation of a legacy layout object (i.e. disallow
+// LayoutNG).
+enum class LegacyLayout {
+ // Allow LayoutNG, if nothing else is preventing it (runtime feature disabled,
+ // specific object type not yet implemented, Element says no, etc.)
+ kAuto,
+
+ // Force legacy layout object creation.
+ kForce
+};
+
// A Node is a base class for all objects in the DOM tree.
// The spec governing this interface can be found here:
// https://dom.spec.whatwg.org/#interface-node
@@ -667,6 +677,8 @@ class CORE_EXPORT Node : public EventTarget {
bool performing_reattach = false;
// True if the previous_in_flow member is up-to-date, even if it is nullptr.
bool use_previous_in_flow = false;
+ // True if we need to force legacy layout objects for the entire subtree.
+ bool force_legacy_layout = false;
AttachContext() {}
};
@@ -779,7 +791,6 @@ class CORE_EXPORT Node : public EventTarget {
virtual bool WillRespondToMouseMoveEvents();
virtual bool WillRespondToMouseClickEvents();
- virtual bool WillRespondToTouchEvents();
enum ShadowTreesTreatment {
kTreatShadowTreesAsDisconnected,
@@ -847,7 +858,6 @@ class CORE_EXPORT Node : public EventTarget {
StaticNodeList* getDestinationInsertionPoints();
HTMLSlotElement* AssignedSlot() const;
- HTMLSlotElement* FinalDestinationSlot() const;
HTMLSlotElement* assignedSlotForBinding();
bool IsFinishedParsingChildren() const {
@@ -1036,16 +1046,16 @@ class CORE_EXPORT Node : public EventTarget {
NodeRareData& CreateRareData();
- const HeapVector<TraceWrapperMember<MutationObserverRegistration>>*
+ const HeapVector<Member<MutationObserverRegistration>>*
MutationObserverRegistry();
- const HeapHashSet<TraceWrapperMember<MutationObserverRegistration>>*
+ const HeapHashSet<Member<MutationObserverRegistration>>*
TransientMutationObserverRegistry();
uint32_t node_flags_;
- TraceWrapperMember<Node> parent_or_shadow_host_node_;
+ Member<Node> parent_or_shadow_host_node_;
Member<TreeScope> tree_scope_;
- TraceWrapperMember<Node> previous_;
- TraceWrapperMember<Node> next_;
+ Member<Node> previous_;
+ Member<Node> next_;
// When a node has rare data we move the layoutObject into the rare data.
union DataUnion {
DataUnion() : node_layout_data_(&NodeRenderingData::SharedEmptyData()) {}