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 27 matching lines...) Expand all Loading... |
38 class Widget; | 38 class Widget; |
39 | 39 |
40 enum PreferPlugInsForImagesOption { | 40 enum PreferPlugInsForImagesOption { |
41 ShouldPreferPlugInsForImages, | 41 ShouldPreferPlugInsForImages, |
42 ShouldNotPreferPlugInsForImages | 42 ShouldNotPreferPlugInsForImages |
43 }; | 43 }; |
44 | 44 |
45 class HTMLPlugInElement : public HTMLFrameOwnerElement { | 45 class HTMLPlugInElement : public HTMLFrameOwnerElement { |
46 public: | 46 public: |
47 virtual ~HTMLPlugInElement(); | 47 virtual ~HTMLPlugInElement(); |
48 virtual void trace(Visitor*) override; | 48 DECLARE_VIRTUAL_TRACE(); |
49 #if ENABLE(OILPAN) | 49 #if ENABLE(OILPAN) |
50 virtual void disconnectContentFrame() override; | 50 virtual void disconnectContentFrame() override; |
51 void shouldDisposePlugin(); | 51 void shouldDisposePlugin(); |
52 #endif | 52 #endif |
53 | 53 |
54 void resetInstance(); | 54 void resetInstance(); |
55 | 55 |
56 // Returns the existing plugin widget, if there is one. | 56 // Returns the existing plugin widget, if there is one. |
57 Widget* existingPluginWidget() const; | 57 Widget* existingPluginWidget() const; |
58 | 58 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 inline bool isHTMLPlugInElement(const HTMLElement& element) | 167 inline bool isHTMLPlugInElement(const HTMLElement& element) |
168 { | 168 { |
169 return element.isPluginElement(); | 169 return element.isPluginElement(); |
170 } | 170 } |
171 | 171 |
172 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 172 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
173 | 173 |
174 } // namespace blink | 174 } // namespace blink |
175 | 175 |
176 #endif // HTMLPlugInElement_h | 176 #endif // HTMLPlugInElement_h |
OLD | NEW |