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 20 matching lines...) Expand all Loading... |
31 #include "core/events/Event.h" | 31 #include "core/events/Event.h" |
32 #include "core/frame/FrameView.h" | 32 #include "core/frame/FrameView.h" |
33 #include "core/frame/LocalFrame.h" | 33 #include "core/frame/LocalFrame.h" |
34 #include "core/frame/Settings.h" | 34 #include "core/frame/Settings.h" |
35 #include "core/frame/csp/ContentSecurityPolicy.h" | 35 #include "core/frame/csp/ContentSecurityPolicy.h" |
36 #include "core/html/HTMLContentElement.h" | 36 #include "core/html/HTMLContentElement.h" |
37 #include "core/html/HTMLImageLoader.h" | 37 #include "core/html/HTMLImageLoader.h" |
38 #include "core/html/PluginDocument.h" | 38 #include "core/html/PluginDocument.h" |
39 #include "core/input/EventHandler.h" | 39 #include "core/input/EventHandler.h" |
40 #include "core/inspector/ConsoleMessage.h" | 40 #include "core/inspector/ConsoleMessage.h" |
41 #include "core/layout/LayoutBlockFlow.h" | |
42 #include "core/layout/LayoutImage.h" | 41 #include "core/layout/LayoutImage.h" |
43 #include "core/layout/LayoutPart.h" | 42 #include "core/layout/LayoutPart.h" |
44 #include "core/loader/FrameLoaderClient.h" | 43 #include "core/loader/FrameLoaderClient.h" |
45 #include "core/loader/MixedContentChecker.h" | 44 #include "core/loader/MixedContentChecker.h" |
46 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
47 #include "core/page/scrolling/ScrollingCoordinator.h" | 46 #include "core/page/scrolling/ScrollingCoordinator.h" |
48 #include "core/plugins/PluginView.h" | 47 #include "core/plugins/PluginView.h" |
49 #include "platform/Logging.h" | 48 #include "platform/Logging.h" |
50 #include "platform/MIMETypeFromURL.h" | 49 #include "platform/MIMETypeFromURL.h" |
51 #include "platform/MIMETypeRegistry.h" | 50 #include "platform/MIMETypeRegistry.h" |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 597 |
599 void HTMLPlugInElement::lazyReattachIfNeeded() | 598 void HTMLPlugInElement::lazyReattachIfNeeded() |
600 { | 599 { |
601 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) { | 600 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma
geType()) { |
602 lazyReattachIfAttached(); | 601 lazyReattachIfAttached(); |
603 setPersistedPluginWidget(nullptr); | 602 setPersistedPluginWidget(nullptr); |
604 } | 603 } |
605 } | 604 } |
606 | 605 |
607 } // namespace blink | 606 } // namespace blink |
OLD | NEW |