| 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 29 matching lines...) Expand all Loading... |
| 40 #include "core/inspector/ConsoleMessage.h" | 40 #include "core/inspector/ConsoleMessage.h" |
| 41 #include "core/layout/LayoutImage.h" | 41 #include "core/layout/LayoutImage.h" |
| 42 #include "core/layout/LayoutPart.h" | 42 #include "core/layout/LayoutPart.h" |
| 43 #include "core/layout/api/LayoutEmbeddedItem.h" | 43 #include "core/layout/api/LayoutEmbeddedItem.h" |
| 44 #include "core/loader/FrameLoaderClient.h" | 44 #include "core/loader/FrameLoaderClient.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/Histogram.h" | 49 #include "platform/Histogram.h" |
| 50 #include "platform/MIMETypeFromURL.h" | |
| 51 #include "platform/MIMETypeRegistry.h" | |
| 52 #include "platform/Widget.h" | 50 #include "platform/Widget.h" |
| 53 #include "platform/network/ResourceRequest.h" | 51 #include "platform/network/ResourceRequest.h" |
| 52 #include "platform/network/mime/MIMETypeFromURL.h" |
| 53 #include "platform/network/mime/MIMETypeRegistry.h" |
| 54 #include "platform/plugins/PluginData.h" | 54 #include "platform/plugins/PluginData.h" |
| 55 #include "public/platform/WebURLRequest.h" | 55 #include "public/platform/WebURLRequest.h" |
| 56 | 56 |
| 57 namespace blink { | 57 namespace blink { |
| 58 | 58 |
| 59 using namespace HTMLNames; | 59 using namespace HTMLNames; |
| 60 | 60 |
| 61 namespace { | 61 namespace { |
| 62 | 62 |
| 63 // Used for histograms, do not change the order. | 63 // Used for histograms, do not change the order. |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 | 641 |
| 642 void HTMLPlugInElement::lazyReattachIfNeeded() { | 642 void HTMLPlugInElement::lazyReattachIfNeeded() { |
| 643 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && | 643 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && |
| 644 !isImageType()) { | 644 !isImageType()) { |
| 645 lazyReattachIfAttached(); | 645 lazyReattachIfAttached(); |
| 646 setPersistedPluginWidget(nullptr); | 646 setPersistedPluginWidget(nullptr); |
| 647 } | 647 } |
| 648 } | 648 } |
| 649 | 649 |
| 650 } // namespace blink | 650 } // namespace blink |
| OLD | NEW |