| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 style, CSSPropertyHeight, 0, CSSPrimitiveValue::UnitType::kPixels); | 88 style, CSSPropertyHeight, 0, CSSPrimitiveValue::UnitType::kPixels); |
| 89 } | 89 } |
| 90 } else { | 90 } else { |
| 91 HTMLPlugInElement::CollectStyleForPresentationAttribute(name, value, style); | 91 HTMLPlugInElement::CollectStyleForPresentationAttribute(name, value, style); |
| 92 } | 92 } |
| 93 } | 93 } |
| 94 | 94 |
| 95 void HTMLEmbedElement::ParseAttribute( | 95 void HTMLEmbedElement::ParseAttribute( |
| 96 const AttributeModificationParams& params) { | 96 const AttributeModificationParams& params) { |
| 97 if (params.name == typeAttr) { | 97 if (params.name == typeAttr) { |
| 98 service_type_ = params.new_value.Lower(); | 98 service_type_ = params.new_value.DeprecatedLower(); |
| 99 size_t pos = service_type_.Find(";"); | 99 size_t pos = service_type_.Find(";"); |
| 100 if (pos != kNotFound) | 100 if (pos != kNotFound) |
| 101 service_type_ = service_type_.Left(pos); | 101 service_type_ = service_type_.Left(pos); |
| 102 if (GetLayoutObject()) { | 102 if (GetLayoutObject()) { |
| 103 SetNeedsPluginUpdate(true); | 103 SetNeedsPluginUpdate(true); |
| 104 GetLayoutObject()->SetNeedsLayoutAndFullPaintInvalidation( | 104 GetLayoutObject()->SetNeedsLayoutAndFullPaintInvalidation( |
| 105 "Embed type changed"); | 105 "Embed type changed"); |
| 106 } else { | 106 } else { |
| 107 RequestPluginCreationWithoutLayoutObjectIfPossible(); | 107 RequestPluginCreationWithoutLayoutObjectIfPossible(); |
| 108 } | 108 } |
| (...skipping 115 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 |