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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 * | 18 * |
19 */ | 19 */ |
20 | 20 |
21 #ifndef HTMLPlugInImageElement_h | 21 #ifndef HTMLPlugInImageElement_h |
22 #define HTMLPlugInImageElement_h | 22 #define HTMLPlugInImageElement_h |
23 | 23 |
24 #include "core/html/HTMLPlugInElement.h" | 24 #include "core/html/HTMLPlugInElement.h" |
25 | 25 |
26 #include "core/platform/MIMETypeFromURL.h" | 26 #include "core/platform/MIMETypeFromURL.h" |
27 #include "core/rendering/style/RenderStyle.h" | 27 #include "core/rendering/style/RenderStyle.h" |
28 #include <wtf/OwnPtr.h> | 28 #include "wtf/OwnPtr.h" |
29 #include <wtf/RefPtr.h> | |
30 | 29 |
31 namespace WebCore { | 30 namespace WebCore { |
32 | 31 |
33 class HTMLImageLoader; | 32 class HTMLImageLoader; |
34 class FrameLoader; | 33 class FrameLoader; |
35 class Image; | 34 class Image; |
36 class MouseEvent; | 35 class MouseEvent; |
37 class Widget; | 36 class Widget; |
38 | 37 |
39 enum PluginCreationOption { | 38 enum PluginCreationOption { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); | 130 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); |
132 return static_cast<const HTMLPlugInImageElement*>(plugInElement); | 131 return static_cast<const HTMLPlugInImageElement*>(plugInElement); |
133 } | 132 } |
134 | 133 |
135 // This will catch anyone doing an unnecessary cast. | 134 // This will catch anyone doing an unnecessary cast. |
136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); | 135 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); |
137 | 136 |
138 } // namespace WebCore | 137 } // namespace WebCore |
139 | 138 |
140 #endif // HTMLPlugInImageElement_h | 139 #endif // HTMLPlugInImageElement_h |
OLD | NEW |