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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.h

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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/html/HTMLObjectElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.h b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
index a65e1c87e89e97f28162d2d2dd741788ab9dadbe..3190249de9e132ccae87a4bc5aede73149d9ec28 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
@@ -31,9 +31,10 @@ namespace blink {
class HTMLFormElement;
-// Inheritance of FormAssociatedElement was used for NPAPI form association, but is still
-// kept here so that legacy APIs such as form attribute can keep working according to the spec.
-// See: https://html.spec.whatwg.org/multipage/embedded-content.html#the-object-element
+// Inheritance of FormAssociatedElement was used for NPAPI form association, but
+// is still kept here so that legacy APIs such as form attribute can keep
+// working according to the spec. See:
+// https://html.spec.whatwg.org/multipage/embedded-content.html#the-object-element
class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement,
public FormAssociatedElement {
DEFINE_WRAPPERTYPEINFO();
@@ -120,14 +121,15 @@ class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement,
bool m_useFallbackContent : 1;
};
-// Intentionally left unimplemented, template specialization needs to be provided for specific
-// return types.
+// Intentionally left unimplemented, template specialization needs to be
+// provided for specific return types.
template <typename T>
inline const T& toElement(const FormAssociatedElement&);
template <typename T>
inline const T* toElement(const FormAssociatedElement*);
-// Make toHTMLObjectElement() accept a FormAssociatedElement as input instead of a Node.
+// Make toHTMLObjectElement() accept a FormAssociatedElement as input instead of
+// a Node.
template <>
inline const HTMLObjectElement* toElement<HTMLObjectElement>(
const FormAssociatedElement* element) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLNameCollection.cpp ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698