| 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 | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights |
| 5 * reserved. | 5 * reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement { | 44 class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement { |
| 45 public: | 45 public: |
| 46 ~HTMLPlugInElement() override; | 46 ~HTMLPlugInElement() override; |
| 47 DECLARE_VIRTUAL_TRACE(); | 47 DECLARE_VIRTUAL_TRACE(); |
| 48 | 48 |
| 49 void resetInstance(); | 49 void resetInstance(); |
| 50 // TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall | 50 // TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall |
| 51 // and HTMLObjectElementLegacyCall usage is extremely low. | 51 // and HTMLObjectElementLegacyCall usage is extremely low. |
| 52 SharedPersistent<v8::Object>* pluginWrapper(); | 52 SharedPersistent<v8::Object>* pluginWrapper(); |
| 53 FrameViewBase* pluginWidget() const; | 53 PluginView* pluginWidget() const; |
| 54 bool canProcessDrag() const; | 54 bool canProcessDrag() const; |
| 55 const String& url() const { return m_url; } | 55 const String& url() const { return m_url; } |
| 56 | 56 |
| 57 // Public for FrameView::addPartToUpdate() | 57 // Public for FrameView::addPartToUpdate() |
| 58 bool needsPluginUpdate() const { return m_needsPluginUpdate; } | 58 bool needsPluginUpdate() const { return m_needsPluginUpdate; } |
| 59 void setNeedsPluginUpdate(bool needsPluginUpdate) { | 59 void setNeedsPluginUpdate(bool needsPluginUpdate) { |
| 60 m_needsPluginUpdate = needsPluginUpdate; | 60 m_needsPluginUpdate = needsPluginUpdate; |
| 61 } | 61 } |
| 62 void updatePlugin(); | 62 void updatePlugin(); |
| 63 | 63 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 inline bool isHTMLPlugInElement(const HTMLElement& element) { | 186 inline bool isHTMLPlugInElement(const HTMLElement& element) { |
| 187 return element.isPluginElement(); | 187 return element.isPluginElement(); |
| 188 } | 188 } |
| 189 | 189 |
| 190 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 190 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 191 | 191 |
| 192 } // namespace blink | 192 } // namespace blink |
| 193 | 193 |
| 194 #endif // HTMLPlugInElement_h | 194 #endif // HTMLPlugInElement_h |
| OLD | NEW |