| 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, 2007, 2008, 2009, 2011 Apple Inc. All rights | 5 * Copyright (C) 2004, 2005, 2006, 2007, 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/fetch/ImageResource.h" | 35 #include "core/fetch/ImageResource.h" |
| 36 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
| 37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
| 38 #include "core/html/HTMLImageLoader.h" | 38 #include "core/html/HTMLImageLoader.h" |
| 39 #include "core/html/HTMLMetaElement.h" | 39 #include "core/html/HTMLMetaElement.h" |
| 40 #include "core/html/HTMLParamElement.h" | 40 #include "core/html/HTMLParamElement.h" |
| 41 #include "core/html/parser/HTMLParserIdioms.h" | 41 #include "core/html/parser/HTMLParserIdioms.h" |
| 42 #include "core/layout/api/LayoutEmbeddedItem.h" | 42 #include "core/layout/api/LayoutEmbeddedItem.h" |
| 43 #include "core/loader/FrameLoaderClient.h" | 43 #include "core/loader/FrameLoaderClient.h" |
| 44 #include "core/plugins/PluginView.h" | 44 #include "core/plugins/PluginView.h" |
| 45 #include "platform/MIMETypeRegistry.h" | |
| 46 #include "platform/Widget.h" | 45 #include "platform/Widget.h" |
| 46 #include "platform/network/mime/MIMETypeRegistry.h" |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 using namespace HTMLNames; | 50 using namespace HTMLNames; |
| 51 | 51 |
| 52 inline HTMLObjectElement::HTMLObjectElement(Document& document, | 52 inline HTMLObjectElement::HTMLObjectElement(Document& document, |
| 53 HTMLFormElement* form, | 53 HTMLFormElement* form, |
| 54 bool createdByParser) | 54 bool createdByParser) |
| 55 : HTMLPlugInElement(objectTag, | 55 : HTMLPlugInElement(objectTag, |
| 56 document, | 56 document, |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent; | 461 return HTMLPlugInElement::useFallbackContent() || m_useFallbackContent; |
| 462 } | 462 } |
| 463 | 463 |
| 464 bool HTMLObjectElement::willUseFallbackContentAtLayout() const { | 464 bool HTMLObjectElement::willUseFallbackContentAtLayout() const { |
| 465 return !hasValidClassId() && hasFallbackContent(); | 465 return !hasValidClassId() && hasFallbackContent(); |
| 466 } | 466 } |
| 467 | 467 |
| 468 void HTMLObjectElement::associateWith(HTMLFormElement*){}; | 468 void HTMLObjectElement::associateWith(HTMLFormElement*){}; |
| 469 | 469 |
| 470 } // namespace blink | 470 } // namespace blink |
| OLD | NEW |