| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual RenderWidget* renderWidgetForJSBindings() const; | 78 virtual RenderWidget* renderWidgetForJSBindings() const; |
| 79 | 79 |
| 80 bool isImageType(); | 80 bool isImageType(); |
| 81 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } | 81 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } |
| 82 RenderEmbeddedObject* renderEmbeddedObject() const; | 82 RenderEmbeddedObject* renderEmbeddedObject() const; |
| 83 bool allowedToLoadFrameURL(const String& url); | 83 bool allowedToLoadFrameURL(const String& url); |
| 84 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
; | 84 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
; |
| 85 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); | 85 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); |
| 86 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); | 86 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); |
| 87 | 87 |
| 88 void dispatchErrorEvent(); |
| 89 |
| 88 String m_serviceType; | 90 String m_serviceType; |
| 89 String m_url; | 91 String m_url; |
| 90 KURL m_loadedUrl; | 92 KURL m_loadedUrl; |
| 91 OwnPtr<HTMLImageLoader> m_imageLoader; | 93 OwnPtr<HTMLImageLoader> m_imageLoader; |
| 92 | 94 |
| 93 private: | 95 private: |
| 94 // EventTarget functions: | 96 // EventTarget functions: |
| 95 virtual void removeAllEventListeners() OVERRIDE FINAL; | 97 virtual void removeAllEventListeners() OVERRIDE FINAL; |
| 96 | 98 |
| 97 // Node functions: | 99 // Node functions: |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 bool m_needsWidgetUpdate; | 137 bool m_needsWidgetUpdate; |
| 136 bool m_shouldPreferPlugInsForImages; | 138 bool m_shouldPreferPlugInsForImages; |
| 137 DisplayState m_displayState; | 139 DisplayState m_displayState; |
| 138 }; | 140 }; |
| 139 | 141 |
| 140 DEFINE_NODE_TYPE_CASTS(HTMLPlugInElement, isPluginElement()); | 142 DEFINE_NODE_TYPE_CASTS(HTMLPlugInElement, isPluginElement()); |
| 141 | 143 |
| 142 } // namespace WebCore | 144 } // namespace WebCore |
| 143 | 145 |
| 144 #endif // HTMLPlugInElement_h | 146 #endif // HTMLPlugInElement_h |
| OLD | NEW |