| 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, 2012 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv
ed. |
| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 protected: | 62 protected: |
| 63 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); | 63 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); |
| 64 | 64 |
| 65 // Node functions: | 65 // Node functions: |
| 66 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 66 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| 67 | 67 |
| 68 // Element functions: | 68 // Element functions: |
| 69 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 69 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 70 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 70 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 71 | 71 |
| 72 virtual bool hasFallbackContent() const; |
| 72 virtual bool useFallbackContent() const; | 73 virtual bool useFallbackContent() const; |
| 73 // Create or update the RenderWidget and return it, triggering layout if | 74 // Create or update the RenderWidget and return it, triggering layout if |
| 74 // necessary. | 75 // necessary. |
| 75 virtual RenderWidget* renderWidgetForJSBindings() const; | 76 virtual RenderWidget* renderWidgetForJSBindings() const; |
| 76 | 77 |
| 77 bool isImageType(); | 78 bool isImageType(); |
| 78 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } | 79 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } |
| 79 RenderEmbeddedObject* renderEmbeddedObject() const; | 80 RenderEmbeddedObject* renderEmbeddedObject() const; |
| 80 bool allowedToLoadFrameURL(const String& url); | 81 bool allowedToLoadFrameURL(const String& url); |
| 81 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); | 82 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 inline bool isHTMLPlugInElement(const HTMLElement& element) | 154 inline bool isHTMLPlugInElement(const HTMLElement& element) |
| 154 { | 155 { |
| 155 return element.isPluginElement(); | 156 return element.isPluginElement(); |
| 156 } | 157 } |
| 157 | 158 |
| 158 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 159 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 159 | 160 |
| 160 } // namespace WebCore | 161 } // namespace WebCore |
| 161 | 162 |
| 162 #endif // HTMLPlugInElement_h | 163 #endif // HTMLPlugInElement_h |
| OLD | NEW |