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 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 updateWidgetInternal(); | 219 updateWidgetInternal(); |
220 if (m_isDelayingLoadEvent) { | 220 if (m_isDelayingLoadEvent) { |
221 m_isDelayingLoadEvent = false; | 221 m_isDelayingLoadEvent = false; |
222 document().decrementLoadEventDelayCount(); | 222 document().decrementLoadEventDelayCount(); |
223 } | 223 } |
224 } | 224 } |
225 | 225 |
226 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint) | 226 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint) |
227 { | 227 { |
228 // If we've persisted the plugin and we're removed from the tree then | 228 // If we've persisted the plugin and we're removed from the tree then |
229 // make sure we cleanup the persistance pointer. | 229 // make sure we cleanup the persistence pointer. |
230 if (m_persistedPluginWidget) { | 230 if (m_persistedPluginWidget) { |
231 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; | 231 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
232 setPersistedPluginWidget(nullptr); | 232 setPersistedPluginWidget(nullptr); |
233 } | 233 } |
234 HTMLFrameOwnerElement::removedFrom(insertionPoint); | 234 HTMLFrameOwnerElement::removedFrom(insertionPoint); |
235 } | 235 } |
236 | 236 |
237 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible() | 237 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible() |
238 { | 238 { |
239 if (m_serviceType.isEmpty()) | 239 if (m_serviceType.isEmpty()) |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 return openShadowRoot(); | 663 return openShadowRoot(); |
664 } | 664 } |
665 | 665 |
666 void HTMLPlugInElement::lazyReattachIfNeeded() | 666 void HTMLPlugInElement::lazyReattachIfNeeded() |
667 { | 667 { |
668 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) | 668 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) |
669 lazyReattachIfAttached(); | 669 lazyReattachIfAttached(); |
670 } | 670 } |
671 | 671 |
672 } | 672 } |
OLD | NEW |