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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // necessary. | 72 // necessary. |
73 virtual RenderWidget* renderWidgetForJSBindings() const; | 73 virtual RenderWidget* renderWidgetForJSBindings() const; |
74 | 74 |
75 bool isImageType(); | 75 bool isImageType(); |
76 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } | 76 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } |
77 RenderEmbeddedObject* renderEmbeddedObject() const; | 77 RenderEmbeddedObject* renderEmbeddedObject() const; |
78 bool allowedToLoadFrameURL(const String& url); | 78 bool allowedToLoadFrameURL(const String& url); |
79 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); | 79 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); |
80 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); | 80 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); |
81 | 81 |
| 82 void dispatchErrorEvent(); |
| 83 |
82 String m_serviceType; | 84 String m_serviceType; |
83 String m_url; | 85 String m_url; |
84 KURL m_loadedUrl; | 86 KURL m_loadedUrl; |
85 OwnPtr<HTMLImageLoader> m_imageLoader; | 87 OwnPtr<HTMLImageLoader> m_imageLoader; |
86 bool m_isDelayingLoadEvent; | 88 bool m_isDelayingLoadEvent; |
87 | 89 |
88 private: | 90 private: |
89 // EventTarget functions: | 91 // EventTarget functions: |
90 virtual void removeAllEventListeners() OVERRIDE FINAL; | 92 virtual void removeAllEventListeners() OVERRIDE FINAL; |
91 | 93 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 bool m_needsWidgetUpdate; | 133 bool m_needsWidgetUpdate; |
132 bool m_shouldPreferPlugInsForImages; | 134 bool m_shouldPreferPlugInsForImages; |
133 DisplayState m_displayState; | 135 DisplayState m_displayState; |
134 }; | 136 }; |
135 | 137 |
136 DEFINE_NODE_TYPE_CASTS(HTMLPlugInElement, isPluginElement()); | 138 DEFINE_NODE_TYPE_CASTS(HTMLPlugInElement, isPluginElement()); |
137 | 139 |
138 } // namespace WebCore | 140 } // namespace WebCore |
139 | 141 |
140 #endif // HTMLPlugInElement_h | 142 #endif // HTMLPlugInElement_h |
OLD | NEW |