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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Touch.h ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index b3755af06aef8a7071d0b94e4b26043b99baa375..d43a3b721168b31a82a1efd5063e6b1b7e554a17 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -46,9 +46,9 @@ class IdTargetObserverRegistry;
class ScopedStyleResolver;
class Node;
-// A class which inherits both Node and TreeScope must call clearRareData() in its destructor
-// so that the Node destructor no longer does problematic NodeList cache manipulation in
-// the destructor.
+// A class which inherits both Node and TreeScope must call clearRareData() in
+// its destructor so that the Node destructor no longer does problematic
+// NodeList cache manipulation in the destructor.
class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
public:
TreeScope* parentTreeScope() const { return m_parentTreeScope; }
@@ -58,9 +58,10 @@ class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
const TreeScope&) const;
Element* adjustedFocusedElement() const;
- // Finds a retargeted element to the given argument, when the retargetd element is in this
- // TreeScope. Returns null otherwise.
- // TODO(kochi): once this algorithm is named in the spec, rename the method name.
+ // Finds a retargeted element to the given argument, when the retargeted
+ // element is in this TreeScope. Returns null otherwise.
+ // TODO(kochi): once this algorithm is named in the spec, rename the method
+ // name.
Element* adjustedElement(const Element&) const;
Element* getElementById(const AtomicString&) const;
const HeapVector<Member<Element>>& getAllElementsById(
@@ -91,10 +92,10 @@ class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
Element* retarget(const Element& target) const;
// Find first anchor with the given name.
- // First searches for an element with the given ID, but if that fails, then looks
- // for an anchor with the given name. ID matching is always case sensitive, but
- // Anchor name matching is case sensitive in strict mode and not case sensitive in
- // quirks mode for historical compatibility reasons.
+ // First searches for an element with the given ID, but if that fails, then
+ // looks for an anchor with the given name. ID matching is always case
+ // sensitive, but Anchor name matching is case sensitive in strict mode and
+ // not case sensitive in quirks mode for historical compatibility reasons.
Element* findAnchor(const String& name);
// Used by the basic DOM mutation methods (e.g., appendChild()).
« no previous file with comments | « third_party/WebKit/Source/core/dom/Touch.h ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698