Chromium Code Reviews| 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 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 | 34 |
| 35 bool isExposed() const; | 35 bool isExposed() const; |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 HTMLEmbedElement(Document&, bool createdByParser); | 38 HTMLEmbedElement(Document&, bool createdByParser); |
| 39 | 39 |
| 40 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; | 40 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; |
| 41 bool isPresentationAttribute(const QualifiedName&) const override; | 41 bool isPresentationAttribute(const QualifiedName&) const override; |
| 42 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; | 42 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; |
| 43 | 43 |
| 44 bool rewriteYouTubeFlashEmbeds(String const & baseUrl); | |
|
Mike West
2016/07/12 13:56:09
Nit: `const String&`
Nit: `host` is probably a be
| |
| 45 | |
| 44 bool layoutObjectIsNeeded(const ComputedStyle&) override; | 46 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
| 45 | 47 |
| 46 bool isURLAttribute(const Attribute&) const override; | 48 bool isURLAttribute(const Attribute&) const override; |
| 47 const QualifiedName& subResourceAttributeName() const override; | 49 const QualifiedName& subResourceAttributeName() const override; |
| 48 | 50 |
| 49 LayoutPart* existingLayoutPart() const override; | 51 LayoutPart* existingLayoutPart() const override; |
| 50 | 52 |
| 51 void updateWidgetInternal() override; | 53 void updateWidgetInternal() override; |
| 52 | 54 |
| 53 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa lues); | 55 void parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramVa lues); |
| 54 | 56 |
| 55 bool shouldRegisterAsNamedItem() const override { return true; } | 57 bool shouldRegisterAsNamedItem() const override { return true; } |
| 56 bool isInteractiveContent() const override; | 58 bool isInteractiveContent() const override; |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace blink | 61 } // namespace blink |
| 60 | 62 |
| 61 #endif // HTMLEmbedElement_h | 63 #endif // HTMLEmbedElement_h |
| OLD | NEW |