| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 updateWidgetInternal(); | 217 updateWidgetInternal(); |
| 218 if (m_isDelayingLoadEvent) { | 218 if (m_isDelayingLoadEvent) { |
| 219 m_isDelayingLoadEvent = false; | 219 m_isDelayingLoadEvent = false; |
| 220 document().decrementLoadEventDelayCount(); | 220 document().decrementLoadEventDelayCount(); |
| 221 } | 221 } |
| 222 } | 222 } |
| 223 | 223 |
| 224 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint) | 224 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint) |
| 225 { | 225 { |
| 226 // If we've persisted the plugin and we're removed from the tree then | 226 // If we've persisted the plugin and we're removed from the tree then |
| 227 // make sure we cleanup the persistance pointer. | 227 // make sure we cleanup the persistence pointer. |
| 228 if (m_persistedPluginWidget) { | 228 if (m_persistedPluginWidget) { |
| 229 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; | 229 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; |
| 230 setPersistedPluginWidget(nullptr); | 230 setPersistedPluginWidget(nullptr); |
| 231 } | 231 } |
| 232 HTMLFrameOwnerElement::removedFrom(insertionPoint); | 232 HTMLFrameOwnerElement::removedFrom(insertionPoint); |
| 233 } | 233 } |
| 234 | 234 |
| 235 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible() | 235 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible() |
| 236 { | 236 { |
| 237 if (m_serviceType.isEmpty()) | 237 if (m_serviceType.isEmpty()) |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 return openShadowRoot(); | 661 return openShadowRoot(); |
| 662 } | 662 } |
| 663 | 663 |
| 664 void HTMLPlugInElement::lazyReattachIfNeeded() | 664 void HTMLPlugInElement::lazyReattachIfNeeded() |
| 665 { | 665 { |
| 666 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) | 666 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) |
| 667 lazyReattachIfAttached(); | 667 lazyReattachIfAttached(); |
| 668 } | 668 } |
| 669 | 669 |
| 670 } | 670 } |
| OLD | NEW |