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

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

Issue 2807063003: kChildNeedsReattachLayoutTree should not be initially set. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
7 * (http://www.torchmobile.com/) 7 * (http://www.torchmobile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 // crbug.com/665924. 839 // crbug.com/665924.
840 void CreateAndDispatchPointerEvent(const AtomicString& mouse_event_name, 840 void CreateAndDispatchPointerEvent(const AtomicString& mouse_event_name,
841 const WebMouseEvent&, 841 const WebMouseEvent&,
842 LocalDOMWindow* view); 842 LocalDOMWindow* view);
843 843
844 protected: 844 protected:
845 enum ConstructionType { 845 enum ConstructionType {
846 kCreateOther = kDefaultNodeFlags, 846 kCreateOther = kDefaultNodeFlags,
847 kCreateText = kDefaultNodeFlags | kIsTextFlag, 847 kCreateText = kDefaultNodeFlags | kIsTextFlag,
848 kCreateContainer = kDefaultNodeFlags | kChildNeedsStyleRecalcFlag | 848 kCreateContainer = kDefaultNodeFlags | kChildNeedsStyleRecalcFlag |
849 kChildNeedsReattachLayoutTree |
850 kIsContainerFlag, 849 kIsContainerFlag,
851 kCreateElement = kCreateContainer | kIsElementFlag, 850 kCreateElement = kCreateContainer | kIsElementFlag,
852 kCreateShadowRoot = 851 kCreateShadowRoot =
853 kCreateContainer | kIsDocumentFragmentFlag | kIsInShadowTreeFlag, 852 kCreateContainer | kIsDocumentFragmentFlag | kIsInShadowTreeFlag,
854 kCreateDocumentFragment = kCreateContainer | kIsDocumentFragmentFlag, 853 kCreateDocumentFragment = kCreateContainer | kIsDocumentFragmentFlag,
855 kCreateHTMLElement = kCreateElement | kIsHTMLFlag, 854 kCreateHTMLElement = kCreateElement | kIsHTMLFlag,
856 kCreateSVGElement = kCreateElement | kIsSVGFlag, 855 kCreateSVGElement = kCreateElement | kIsSVGFlag,
857 kCreateDocument = kCreateContainer | kIsConnectedFlag, 856 kCreateDocument = kCreateContainer | kIsConnectedFlag,
858 kCreateInsertionPoint = kCreateHTMLElement | kIsInsertionPointFlag, 857 kCreateInsertionPoint = kCreateHTMLElement | kIsInsertionPointFlag,
859 kCreateEditingText = kCreateText | kHasNameOrIsEditingTextFlag, 858 kCreateEditingText = kCreateText | kHasNameOrIsEditingTextFlag,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 } // namespace blink 993 } // namespace blink
995 994
996 #ifndef NDEBUG 995 #ifndef NDEBUG
997 // Outside the WebCore namespace for ease of invocation from gdb. 996 // Outside the WebCore namespace for ease of invocation from gdb.
998 void showNode(const blink::Node*); 997 void showNode(const blink::Node*);
999 void showTree(const blink::Node*); 998 void showTree(const blink::Node*);
1000 void showNodePath(const blink::Node*); 999 void showNodePath(const blink::Node*);
1001 #endif 1000 #endif
1002 1001
1003 #endif // Node_h 1002 #endif // Node_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698