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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 HTMLPlugInImageElement(const QualifiedName& tagName, Document*, bool created
ByParser, PreferPlugInsForImagesOption); | 82 HTMLPlugInImageElement(const QualifiedName& tagName, Document*, bool created
ByParser, PreferPlugInsForImagesOption); |
83 | 83 |
84 bool isImageType(); | 84 bool isImageType(); |
85 | 85 |
86 OwnPtr<HTMLImageLoader> m_imageLoader; | 86 OwnPtr<HTMLImageLoader> m_imageLoader; |
87 String m_serviceType; | 87 String m_serviceType; |
88 String m_url; | 88 String m_url; |
89 KURL m_loadedUrl; | 89 KURL m_loadedUrl; |
90 | 90 |
91 static void updateWidgetCallback(Node*); | 91 static void updateWidgetCallback(Node*); |
92 virtual void attach(); | 92 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
93 virtual void detach(); | 93 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
94 | 94 |
95 bool allowedToLoadFrameURL(const String& url); | 95 bool allowedToLoadFrameURL(const String& url); |
96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
; | 96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType)
; |
97 | 97 |
98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
99 | 99 |
100 private: | 100 private: |
101 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 101 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL; | 102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL; |
103 | 103 |
(...skipping 27 matching lines...) Expand all Loading... |
131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); | 131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); |
132 return static_cast<const HTMLPlugInImageElement*>(plugInElement); | 132 return static_cast<const HTMLPlugInImageElement*>(plugInElement); |
133 } | 133 } |
134 | 134 |
135 // This will catch anyone doing an unnecessary cast. | 135 // This will catch anyone doing an unnecessary cast. |
136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); | 136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); |
137 | 137 |
138 } // namespace WebCore | 138 } // namespace WebCore |
139 | 139 |
140 #endif // HTMLPlugInImageElement_h | 140 #endif // HTMLPlugInImageElement_h |
OLD | NEW |