| 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, 2008, 2009, 2011 Apple Inc. All rights | 5 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2011 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "core/html/HTMLEmbedElement.h" | 25 #include "core/html/HTMLEmbedElement.h" |
| 26 | 26 |
| 27 #include "core/CSSPropertyNames.h" | 27 #include "core/CSSPropertyNames.h" |
| 28 #include "core/HTMLNames.h" | 28 #include "core/HTMLNames.h" |
| 29 #include "core/dom/Attribute.h" | 29 #include "core/dom/Attribute.h" |
| 30 #include "core/dom/ElementTraversal.h" | 30 #include "core/dom/ElementTraversal.h" |
| 31 #include "core/dom/shadow/ShadowRoot.h" | 31 #include "core/dom/shadow/ShadowRoot.h" |
| 32 #include "core/frame/LocalFrameClient.h" |
| 32 #include "core/html/HTMLImageLoader.h" | 33 #include "core/html/HTMLImageLoader.h" |
| 33 #include "core/html/HTMLObjectElement.h" | 34 #include "core/html/HTMLObjectElement.h" |
| 34 #include "core/html/PluginDocument.h" | 35 #include "core/html/PluginDocument.h" |
| 35 #include "core/html/parser/HTMLParserIdioms.h" | 36 #include "core/html/parser/HTMLParserIdioms.h" |
| 36 #include "core/layout/LayoutPart.h" | 37 #include "core/layout/LayoutPart.h" |
| 37 #include "core/layout/api/LayoutEmbeddedItem.h" | 38 #include "core/layout/api/LayoutEmbeddedItem.h" |
| 38 #include "core/loader/FrameLoaderClient.h" | |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 using namespace HTMLNames; | 42 using namespace HTMLNames; |
| 43 | 43 |
| 44 inline HTMLEmbedElement::HTMLEmbedElement(Document& document, | 44 inline HTMLEmbedElement::HTMLEmbedElement(Document& document, |
| 45 bool createdByParser) | 45 bool createdByParser) |
| 46 : HTMLPlugInElement(embedTag, | 46 : HTMLPlugInElement(embedTag, |
| 47 document, | 47 document, |
| 48 createdByParser, | 48 createdByParser, |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 for (HTMLObjectElement* object = | 224 for (HTMLObjectElement* object = |
| 225 Traversal<HTMLObjectElement>::firstAncestor(*this); | 225 Traversal<HTMLObjectElement>::firstAncestor(*this); |
| 226 object; object = Traversal<HTMLObjectElement>::firstAncestor(*object)) { | 226 object; object = Traversal<HTMLObjectElement>::firstAncestor(*object)) { |
| 227 if (object->isExposed()) | 227 if (object->isExposed()) |
| 228 return false; | 228 return false; |
| 229 } | 229 } |
| 230 return true; | 230 return true; |
| 231 } | 231 } |
| 232 | 232 |
| 233 } // namespace blink | 233 } // namespace blink |
| OLD | NEW |