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

Unified Diff: third_party/WebKit/Source/core/dom/ElementTraversal.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/ElementTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/ElementTraversal.h b/third_party/WebKit/Source/core/dom/ElementTraversal.h
index 74897a2e4ccd02042dc10633cbae571ed014174e..26fda46f3862629b89a2b3de2a9215f3fdb5a481 100644
--- a/third_party/WebKit/Source/core/dom/ElementTraversal.h
+++ b/third_party/WebKit/Source/core/dom/ElementTraversal.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, 2013 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, 2013
+ * 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
@@ -170,7 +172,8 @@ class Traversal {
const Node&,
const Node* stayWithin = 0);
- // Utility function to traverse only the element and pseudo-element siblings of a node.
+ // Utility function to traverse only the element and pseudo-element siblings
+ // of a node.
static ElementType* pseudoAwarePreviousSibling(const Node&);
// Previous / Next sibling.
@@ -246,7 +249,8 @@ Traversal<ElementType>::startsAfter(const Node& start) {
return startsAt(Traversal<ElementType>::next(start));
};
-// Specialized for pure Element to exploit the fact that Elements parent is always either another Element or the root.
+// Specialized for pure Element to exploit the fact that Elements parent is
+// always either another Element or the root.
template <>
template <class NodeType>
inline Element* Traversal<Element>::firstWithinTemplate(NodeType& current) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementData.cpp ('k') | third_party/WebKit/Source/core/dom/ElementVisibilityObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698