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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // Public for FrameView::addPartToUpdate() | 62 // Public for FrameView::addPartToUpdate() |
63 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } | 63 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } |
64 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } | 64 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne
edsWidgetUpdate; } |
65 void updateWidget(); | 65 void updateWidget(); |
66 | 66 |
67 bool shouldAccelerate() const; | 67 bool shouldAccelerate() const; |
68 | 68 |
69 void requestPluginCreationWithoutLayoutObjectIfPossible(); | 69 void requestPluginCreationWithoutLayoutObjectIfPossible(); |
70 void createPluginWithoutLayoutObject(); | 70 void createPluginWithoutLayoutObject(); |
71 | 71 |
72 void removedFrom(ContainerNode* insertionPoint, Node* next) override; | 72 void removedFrom(ContainerNode* insertionPoint) override; |
73 | 73 |
74 protected: | 74 protected: |
75 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); | 75 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar
ser, PreferPlugInsForImagesOption); |
76 | 76 |
77 // Node functions: | 77 // Node functions: |
78 void didMoveToNewDocument(Document& oldDocument) override; | 78 void didMoveToNewDocument(Document& oldDocument) override; |
79 | 79 |
80 // Element functions: | 80 // Element functions: |
81 bool isPresentationAttribute(const QualifiedName&) const override; | 81 bool isPresentationAttribute(const QualifiedName&) const override; |
82 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; | 82 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 inline bool isHTMLPlugInElement(const HTMLElement& element) | 160 inline bool isHTMLPlugInElement(const HTMLElement& element) |
161 { | 161 { |
162 return element.isPluginElement(); | 162 return element.isPluginElement(); |
163 } | 163 } |
164 | 164 |
165 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 165 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
166 | 166 |
167 } // namespace blink | 167 } // namespace blink |
168 | 168 |
169 #endif // HTMLPlugInElement_h | 169 #endif // HTMLPlugInElement_h |
OLD | NEW |