| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 using namespace HTMLNames; | 49 using namespace HTMLNames; |
| 50 | 50 |
| 51 inline HTMLObjectElement::HTMLObjectElement(Document& document, | 51 inline HTMLObjectElement::HTMLObjectElement(Document& document, |
| 52 bool createdByParser) | 52 bool createdByParser) |
| 53 : HTMLPlugInElement(objectTag, | 53 : HTMLPlugInElement(objectTag, |
| 54 document, | 54 document, |
| 55 createdByParser, | 55 createdByParser, |
| 56 ShouldNotPreferPlugInsForImages), | 56 ShouldNotPreferPlugInsForImages), |
| 57 m_useFallbackContent(false) { | 57 m_useFallbackContent(false) {} |
| 58 } | |
| 59 | 58 |
| 60 inline HTMLObjectElement::~HTMLObjectElement() {} | 59 inline HTMLObjectElement::~HTMLObjectElement() {} |
| 61 | 60 |
| 62 HTMLObjectElement* HTMLObjectElement::create(Document& document, | 61 HTMLObjectElement* HTMLObjectElement::create(Document& document, |
| 63 bool createdByParser) { | 62 bool createdByParser) { |
| 64 HTMLObjectElement* element = new HTMLObjectElement(document, createdByParser); | 63 HTMLObjectElement* element = new HTMLObjectElement(document, createdByParser); |
| 65 element->ensureUserAgentShadowRoot(); | 64 element->ensureUserAgentShadowRoot(); |
| 66 return element; | 65 return element; |
| 67 } | 66 } |
| 68 | 67 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 457 |
| 459 bool HTMLObjectElement::willUseFallbackContentAtLayout() const { | 458 bool HTMLObjectElement::willUseFallbackContentAtLayout() const { |
| 460 return !hasValidClassId() && hasFallbackContent(); | 459 return !hasValidClassId() && hasFallbackContent(); |
| 461 } | 460 } |
| 462 | 461 |
| 463 void HTMLObjectElement::associateWith(HTMLFormElement* form) { | 462 void HTMLObjectElement::associateWith(HTMLFormElement* form) { |
| 464 associateByParser(form); | 463 associateByParser(form); |
| 465 }; | 464 }; |
| 466 | 465 |
| 467 } // namespace blink | 466 } // namespace blink |
| OLD | NEW |