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 28 matching lines...) Expand all Loading... |
39 #include "core/html/PluginDocument.h" | 39 #include "core/html/PluginDocument.h" |
40 #include "core/input/EventHandler.h" | 40 #include "core/input/EventHandler.h" |
41 #include "core/inspector/ConsoleMessage.h" | 41 #include "core/inspector/ConsoleMessage.h" |
42 #include "core/layout/LayoutImage.h" | 42 #include "core/layout/LayoutImage.h" |
43 #include "core/layout/LayoutPart.h" | 43 #include "core/layout/LayoutPart.h" |
44 #include "core/layout/api/LayoutEmbeddedItem.h" | 44 #include "core/layout/api/LayoutEmbeddedItem.h" |
45 #include "core/loader/MixedContentChecker.h" | 45 #include "core/loader/MixedContentChecker.h" |
46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
47 #include "core/page/scrolling/ScrollingCoordinator.h" | 47 #include "core/page/scrolling/ScrollingCoordinator.h" |
48 #include "core/plugins/PluginView.h" | 48 #include "core/plugins/PluginView.h" |
49 #include "platform/FrameViewBase.h" | |
50 #include "platform/Histogram.h" | 49 #include "platform/Histogram.h" |
51 #include "platform/bindings/V8PerIsolateData.h" | 50 #include "platform/bindings/V8PerIsolateData.h" |
52 #include "platform/loader/fetch/ResourceRequest.h" | 51 #include "platform/loader/fetch/ResourceRequest.h" |
53 #include "platform/network/mime/MIMETypeFromURL.h" | 52 #include "platform/network/mime/MIMETypeFromURL.h" |
54 #include "platform/network/mime/MIMETypeRegistry.h" | 53 #include "platform/network/mime/MIMETypeRegistry.h" |
55 #include "platform/plugins/PluginData.h" | 54 #include "platform/plugins/PluginData.h" |
56 #include "public/platform/WebURLRequest.h" | 55 #include "public/platform/WebURLRequest.h" |
57 | 56 |
58 namespace blink { | 57 namespace blink { |
59 | 58 |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 | 671 |
673 void HTMLPlugInElement::LazyReattachIfNeeded() { | 672 void HTMLPlugInElement::LazyReattachIfNeeded() { |
674 if (!UseFallbackContent() && NeedsPluginUpdate() && GetLayoutObject() && | 673 if (!UseFallbackContent() && NeedsPluginUpdate() && GetLayoutObject() && |
675 !IsImageType()) { | 674 !IsImageType()) { |
676 LazyReattachIfAttached(); | 675 LazyReattachIfAttached(); |
677 SetPersistedPlugin(nullptr); | 676 SetPersistedPlugin(nullptr); |
678 } | 677 } |
679 } | 678 } |
680 | 679 |
681 } // namespace blink | 680 } // namespace blink |
OLD | NEW |