| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 Widget* pluginWidget() const; | 50 Widget* pluginWidget() const; |
| 51 NPObject* getNPObject(); | 51 NPObject* getNPObject(); |
| 52 bool canProcessDrag() const; | 52 bool canProcessDrag() const; |
| 53 const String& url() const { return m_url; } | 53 const String& url() const { return m_url; } |
| 54 | 54 |
| 55 // Public for FrameView::addWidgetToUpdate() | 55 // Public for FrameView::addWidgetToUpdate() |
| 56 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } | 56 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } |
| 57 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } | 57 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } |
| 58 void updateWidget(); | 58 void updateWidget(); |
| 59 | 59 |
| 60 bool shouldAccelerate(); |
| 61 |
| 60 void requestPluginCreationWithoutRendererIfPossible(); | 62 void requestPluginCreationWithoutRendererIfPossible(); |
| 61 void createPluginWithoutRenderer(); | 63 void createPluginWithoutRenderer(); |
| 62 | 64 |
| 63 protected: | 65 protected: |
| 64 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); | 66 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); |
| 65 | 67 |
| 66 // Node functions: | 68 // Node functions: |
| 67 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 69 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| 68 | 70 |
| 69 // Element functions: | 71 // Element functions: |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 inline bool isHTMLPlugInElement(const HTMLElement& element) | 157 inline bool isHTMLPlugInElement(const HTMLElement& element) |
| 156 { | 158 { |
| 157 return element.isPluginElement(); | 159 return element.isPluginElement(); |
| 158 } | 160 } |
| 159 | 161 |
| 160 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 162 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 161 | 163 |
| 162 } // namespace WebCore | 164 } // namespace WebCore |
| 163 | 165 |
| 164 #endif // HTMLPlugInElement_h | 166 #endif // HTMLPlugInElement_h |
| OLD | NEW |