OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 #ifndef HTMLObjectElement_h | 23 #ifndef HTMLObjectElement_h |
24 #define HTMLObjectElement_h | 24 #define HTMLObjectElement_h |
25 | 25 |
26 #include "FormAssociatedElement.h" | 26 #include "FormAssociatedElement.h" |
27 #include "HTMLPlugInImageElement.h" | 27 #include "HTMLPlugInImageElement.h" |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
31 class HTMLFormElement; | 31 class HTMLFormElement; |
32 | 32 |
33 class HTMLObjectElement : public HTMLPlugInImageElement, public FormAssociatedEl
ement { | 33 class HTMLObjectElement FINAL : public HTMLPlugInImageElement, public FormAssoci
atedElement { |
34 public: | 34 public: |
35 static PassRefPtr<HTMLObjectElement> create(const QualifiedName&, Document*,
HTMLFormElement*, bool createdByParser); | 35 static PassRefPtr<HTMLObjectElement> create(const QualifiedName&, Document*,
HTMLFormElement*, bool createdByParser); |
36 virtual ~HTMLObjectElement(); | 36 virtual ~HTMLObjectElement(); |
37 | 37 |
38 bool isDocNamedItem() const { return m_docNamedItem; } | 38 bool isDocNamedItem() const { return m_docNamedItem; } |
39 | 39 |
40 const String& classId() const { return m_classId; } | 40 const String& classId() const { return m_classId; } |
41 | 41 |
42 bool containsJavaApplet() const; | 42 bool containsJavaApplet() const; |
43 | 43 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return isDocN
amedItem(); } | 105 virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return isDocN
amedItem(); } |
106 | 106 |
107 String m_classId; | 107 String m_classId; |
108 bool m_docNamedItem : 1; | 108 bool m_docNamedItem : 1; |
109 bool m_useFallbackContent : 1; | 109 bool m_useFallbackContent : 1; |
110 }; | 110 }; |
111 | 111 |
112 } | 112 } |
113 | 113 |
114 #endif | 114 #endif |
OLD | NEW |