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

Unified Diff: third_party/WebKit/Source/core/dom/NodeTraversal.h

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/NodeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/NodeTraversal.h b/third_party/WebKit/Source/core/dom/NodeTraversal.h
index dccbf74cb6931fefed87b5cf2e42133541fa174c..b535d914d424408cc5a30f02ff4cef9a69e69906 100644
--- a/third_party/WebKit/Source/core/dom/NodeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/NodeTraversal.h
@@ -2,8 +2,10 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
- * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
+ * All rights reserved.
+ * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
+ * (http://www.torchmobile.com/)
* Copyright (C) 2014 Samsung Electronics. All rights reserved.
*
* This library is free software; you can redistribute it and/or
@@ -54,10 +56,11 @@ class NodeTraversal {
public:
using TraversalNodeType = Node;
- // Does a pre-order traversal of the tree to find the next node after this one.
- // This uses the same order that tags appear in the source file. If the stayWithin
- // argument is non-null, the traversal will stop once the specified node is reached.
- // This can be used to restrict traversal to a particular sub-tree.
+ // Does a pre-order traversal of the tree to find the next node after this
+ // one. This uses the same order that tags appear in the source file. If the
+ // stayWithin argument is non-null, the traversal will stop once the specified
+ // node is reached. This can be used to restrict traversal to a particular
+ // sub-tree.
static Node* next(const Node& current) {
return traverseNextTemplate(current);
}
@@ -80,7 +83,8 @@ class NodeTraversal {
static Node* lastWithin(const ContainerNode&);
static Node& lastWithinOrSelf(Node&);
- // Does a reverse pre-order traversal to find the node that comes before the current one in document order
+ // Does a reverse pre-order traversal to find the node that comes before the
+ // current one in document order
static Node* previous(const Node&, const Node* stayWithin = 0);
// Like previous, but skips children and starts with the next sibling.
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeListsNodeData.h ('k') | third_party/WebKit/Source/core/dom/NodeTraversal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698