| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. | 2  * Copyright (C) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * This library is free software; you can redistribute it and/or | 4  * This library is free software; you can redistribute it and/or | 
| 5  * modify it under the terms of the GNU Library General Public | 5  * modify it under the terms of the GNU Library General Public | 
| 6  * License as published by the Free Software Foundation; either | 6  * License as published by the Free Software Foundation; either | 
| 7  * version 2 of the License, or (at your option) any later version. | 7  * version 2 of the License, or (at your option) any later version. | 
| 8  * | 8  * | 
| 9  * This library is distributed in the hope that it will be useful, | 9  * This library is distributed in the hope that it will be useful, | 
| 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 78     HTMLPlugInImageElement(const QualifiedName& tagName, Document&, bool created
     ByParser, PreferPlugInsForImagesOption); | 78     HTMLPlugInImageElement(const QualifiedName& tagName, Document&, bool created
     ByParser, PreferPlugInsForImagesOption); | 
| 79 | 79 | 
| 80     bool isImageType(); | 80     bool isImageType(); | 
| 81 | 81 | 
| 82     OwnPtr<HTMLImageLoader> m_imageLoader; | 82     OwnPtr<HTMLImageLoader> m_imageLoader; | 
| 83     String m_serviceType; | 83     String m_serviceType; | 
| 84     String m_url; | 84     String m_url; | 
| 85     KURL m_loadedUrl; | 85     KURL m_loadedUrl; | 
| 86 | 86 | 
| 87     static void updateWidgetCallback(Node*); | 87     static void updateWidgetCallback(Node*); | 
| 88     virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 88     virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI
     DE; | 
| 89     virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 89     virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR
     IDE; | 
| 90 | 90 | 
| 91     bool allowedToLoadFrameURL(const String& url); | 91     bool allowedToLoadFrameURL(const String& url); | 
| 92     bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
     ; | 92     bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
     ; | 
| 93 | 93 | 
| 94     virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 94     virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 
| 95 | 95 | 
| 96     bool requestObject(const String& url, const String& mimeType, const Vector<S
     tring>& paramNames, const Vector<String>& paramValues); | 96     bool requestObject(const String& url, const String& mimeType, const Vector<S
     tring>& paramNames, const Vector<String>& paramValues); | 
| 97     bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback, 
     bool& useFallback); | 97     bool shouldUsePlugin(const KURL&, const String& mimeType, bool hasFallback, 
     bool& useFallback); | 
| 98 | 98 | 
| 99 private: | 99 private: | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 133     ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); | 133     ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); | 
| 134     return static_cast<const HTMLPlugInImageElement*>(plugInElement); | 134     return static_cast<const HTMLPlugInImageElement*>(plugInElement); | 
| 135 } | 135 } | 
| 136 | 136 | 
| 137 // This will catch anyone doing an unnecessary cast. | 137 // This will catch anyone doing an unnecessary cast. | 
| 138 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); | 138 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); | 
| 139 | 139 | 
| 140 } // namespace WebCore | 140 } // namespace WebCore | 
| 141 | 141 | 
| 142 #endif // HTMLPlugInImageElement_h | 142 #endif // HTMLPlugInImageElement_h | 
| OLD | NEW | 
|---|