| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 bool isImageType(); | 85 bool isImageType(); |
| 86 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } | 86 bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForI
mages; } |
| 87 RenderEmbeddedObject* renderEmbeddedObject() const; | 87 RenderEmbeddedObject* renderEmbeddedObject() const; |
| 88 bool allowedToLoadFrameURL(const String& url); | 88 bool allowedToLoadFrameURL(const String& url); |
| 89 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); | 89 bool requestObject(const String& url, const String& mimeType, const Vector<S
tring>& paramNames, const Vector<String>& paramValues); |
| 90 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); | 90 bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback,
bool& useFallback); |
| 91 | 91 |
| 92 void dispatchErrorEvent(); | 92 void dispatchErrorEvent(); |
| 93 | 93 |
| 94 void triggerReattachThroughStyleRecalcHack(); |
| 95 |
| 94 String m_serviceType; | 96 String m_serviceType; |
| 95 String m_url; | 97 String m_url; |
| 96 KURL m_loadedUrl; | 98 KURL m_loadedUrl; |
| 97 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 99 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 98 bool m_isDelayingLoadEvent; | 100 bool m_isDelayingLoadEvent; |
| 99 | 101 |
| 100 private: | 102 private: |
| 101 // EventTarget functions: | 103 // EventTarget functions: |
| 102 virtual void removeAllEventListeners() OVERRIDE FINAL; | 104 virtual void removeAllEventListeners() OVERRIDE FINAL; |
| 103 | 105 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 inline bool isHTMLPlugInElement(const HTMLElement& element) | 151 inline bool isHTMLPlugInElement(const HTMLElement& element) |
| 150 { | 152 { |
| 151 return element.isPluginElement(); | 153 return element.isPluginElement(); |
| 152 } | 154 } |
| 153 | 155 |
| 154 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 156 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 155 | 157 |
| 156 } // namespace blink | 158 } // namespace blink |
| 157 | 159 |
| 158 #endif // HTMLPlugInElement_h | 160 #endif // HTMLPlugInElement_h |
| OLD | NEW |