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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 25 matching lines...) Expand all
36 // is still kept here so that legacy APIs such as form attribute can keep 36 // is still kept here so that legacy APIs such as form attribute can keep
37 // working according to the spec. See: 37 // working according to the spec. See:
38 // https://html.spec.whatwg.org/multipage/embedded-content.html#the-object-eleme nt 38 // https://html.spec.whatwg.org/multipage/embedded-content.html#the-object-eleme nt
39 class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement, 39 class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement,
40 public ListedElement, 40 public ListedElement,
41 public FormAssociated { 41 public FormAssociated {
42 DEFINE_WRAPPERTYPEINFO(); 42 DEFINE_WRAPPERTYPEINFO();
43 USING_GARBAGE_COLLECTED_MIXIN(HTMLObjectElement); 43 USING_GARBAGE_COLLECTED_MIXIN(HTMLObjectElement);
44 44
45 public: 45 public:
46 static HTMLObjectElement* create(Document&, 46 static HTMLObjectElement* create(Document&, bool createdByParser);
47 bool createdByParser);
48 ~HTMLObjectElement() override; 47 ~HTMLObjectElement() override;
49 DECLARE_VIRTUAL_TRACE(); 48 DECLARE_VIRTUAL_TRACE();
50 49
51 const String& classId() const { return m_classId; } 50 const String& classId() const { return m_classId; }
52 51
53 HTMLFormElement* formOwner() const override; 52 HTMLFormElement* formOwner() const override;
54 53
55 bool containsJavaApplet() const; 54 bool containsJavaApplet() const;
56 55
57 bool hasFallbackContent() const override; 56 bool hasFallbackContent() const override;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 static_cast<const HTMLObjectElement&>(element); 155 static_cast<const HTMLObjectElement&>(element);
157 // We need to assert after the cast because ListedElement doesn't 156 // We need to assert after the cast because ListedElement doesn't
158 // have hasTagName. 157 // have hasTagName.
159 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); 158 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag));
160 return objectElement; 159 return objectElement;
161 } 160 }
162 161
163 } // namespace blink 162 } // namespace blink
164 163
165 #endif // HTMLObjectElement_h 164 #endif // HTMLObjectElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaSource.h ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698