Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1913)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 22 matching lines...) Expand all
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/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/loader/FrameLoaderClient.h" 44 #include "core/loader/FrameLoaderClient.h"
44 #include "core/loader/MixedContentChecker.h" 45 #include "core/loader/MixedContentChecker.h"
45 #include "core/page/Page.h" 46 #include "core/page/Page.h"
46 #include "core/page/scrolling/ScrollingCoordinator.h" 47 #include "core/page/scrolling/ScrollingCoordinator.h"
47 #include "core/plugins/PluginView.h" 48 #include "core/plugins/PluginView.h"
48 #include "platform/Histogram.h" 49 #include "platform/Histogram.h"
49 #include "platform/MIMETypeFromURL.h" 50 #include "platform/MIMETypeFromURL.h"
50 #include "platform/MIMETypeRegistry.h" 51 #include "platform/MIMETypeRegistry.h"
51 #include "platform/Widget.h" 52 #include "platform/Widget.h"
52 #include "platform/network/ResourceRequest.h" 53 #include "platform/network/ResourceRequest.h"
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 617
617 void HTMLPlugInElement::lazyReattachIfNeeded() 618 void HTMLPlugInElement::lazyReattachIfNeeded()
618 { 619 {
619 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma geType()) { 620 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma geType()) {
620 lazyReattachIfAttached(); 621 lazyReattachIfAttached();
621 setPersistedPluginWidget(nullptr); 622 setPersistedPluginWidget(nullptr);
622 } 623 }
623 } 624 }
624 625
625 } // namespace blink 626 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.h ('k') | third_party/WebKit/Source/core/input/EventHandlingUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698