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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 // instead route all WebMouseEvents through EventHandler. See 897 // instead route all WebMouseEvents through EventHandler. See
898 // crbug.com/665924. 898 // crbug.com/665924.
899 void CreateAndDispatchPointerEvent(const AtomicString& mouse_event_name, 899 void CreateAndDispatchPointerEvent(const AtomicString& mouse_event_name,
900 const WebMouseEvent&, 900 const WebMouseEvent&,
901 LocalDOMWindow* view); 901 LocalDOMWindow* view);
902 902
903 protected: 903 protected:
904 enum ConstructionType { 904 enum ConstructionType {
905 kCreateOther = kDefaultNodeFlags, 905 kCreateOther = kDefaultNodeFlags,
906 kCreateText = kDefaultNodeFlags | kIsTextFlag, 906 kCreateText = kDefaultNodeFlags | kIsTextFlag,
907 kCreateContainer = kDefaultNodeFlags | kChildNeedsStyleRecalcFlag | 907 kCreateContainer =
908 kIsContainerFlag, 908 kDefaultNodeFlags | kChildNeedsStyleRecalcFlag | kIsContainerFlag,
909 kCreateElement = kCreateContainer | kIsElementFlag, 909 kCreateElement = kCreateContainer | kIsElementFlag,
910 kCreateShadowRoot = 910 kCreateShadowRoot =
911 kCreateContainer | kIsDocumentFragmentFlag | kIsInShadowTreeFlag, 911 kCreateContainer | kIsDocumentFragmentFlag | kIsInShadowTreeFlag,
912 kCreateDocumentFragment = kCreateContainer | kIsDocumentFragmentFlag, 912 kCreateDocumentFragment = kCreateContainer | kIsDocumentFragmentFlag,
913 kCreateHTMLElement = kCreateElement | kIsHTMLFlag, 913 kCreateHTMLElement = kCreateElement | kIsHTMLFlag,
914 kCreateSVGElement = kCreateElement | kIsSVGFlag, 914 kCreateSVGElement = kCreateElement | kIsSVGFlag,
915 kCreateDocument = kCreateContainer | kIsConnectedFlag, 915 kCreateDocument = kCreateContainer | kIsConnectedFlag,
916 kCreateInsertionPoint = kCreateHTMLElement | kIsInsertionPointFlag, 916 kCreateInsertionPoint = kCreateHTMLElement | kIsInsertionPointFlag,
917 kCreateEditingText = kCreateText | kHasNameOrIsEditingTextFlag, 917 kCreateEditingText = kCreateText | kHasNameOrIsEditingTextFlag,
918 }; 918 };
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 } // namespace blink 1047 } // namespace blink
1048 1048
1049 #ifndef NDEBUG 1049 #ifndef NDEBUG
1050 // Outside the WebCore namespace for ease of invocation from gdb. 1050 // Outside the WebCore namespace for ease of invocation from gdb.
1051 void showNode(const blink::Node*); 1051 void showNode(const blink::Node*);
1052 void showTree(const blink::Node*); 1052 void showTree(const blink::Node*);
1053 void showNodePath(const blink::Node*); 1053 void showNodePath(const blink::Node*);
1054 #endif 1054 #endif
1055 1055
1056 #endif // Node_h 1056 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698