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