| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 return new LayoutEmbeddedObject(this); | 262 return new LayoutEmbeddedObject(this); |
| 263 } | 263 } |
| 264 | 264 |
| 265 void HTMLPlugInElement::finishParsingChildren() | 265 void HTMLPlugInElement::finishParsingChildren() |
| 266 { | 266 { |
| 267 HTMLFrameOwnerElement::finishParsingChildren(); | 267 HTMLFrameOwnerElement::finishParsingChildren(); |
| 268 if (useFallbackContent()) | 268 if (useFallbackContent()) |
| 269 return; | 269 return; |
| 270 | 270 |
| 271 setNeedsWidgetUpdate(true); | 271 setNeedsWidgetUpdate(true); |
| 272 if (inDocument()) | 272 if (inShadowIncludingDocument()) |
| 273 lazyReattachIfNeeded(); | 273 lazyReattachIfNeeded(); |
| 274 } | 274 } |
| 275 | 275 |
| 276 void HTMLPlugInElement::resetInstance() | 276 void HTMLPlugInElement::resetInstance() |
| 277 { | 277 { |
| 278 m_pluginWrapper.clear(); | 278 m_pluginWrapper.clear(); |
| 279 } | 279 } |
| 280 | 280 |
| 281 SharedPersistent<v8::Object>* HTMLPlugInElement::pluginWrapper() | 281 SharedPersistent<v8::Object>* HTMLPlugInElement::pluginWrapper() |
| 282 { | 282 { |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 606 |
| 607 void HTMLPlugInElement::lazyReattachIfNeeded() | 607 void HTMLPlugInElement::lazyReattachIfNeeded() |
| 608 { | 608 { |
| 609 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) { | 609 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) { |
| 610 lazyReattachIfAttached(); | 610 lazyReattachIfAttached(); |
| 611 setPersistedPluginWidget(nullptr); | 611 setPersistedPluginWidget(nullptr); |
| 612 } | 612 } |
| 613 } | 613 } |
| 614 | 614 |
| 615 } // namespace blink | 615 } // namespace blink |
| OLD | NEW |