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 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class CORE_EXPORT HTMLIFrameElement final : public HTMLFrameElementBase { | 36 class CORE_EXPORT HTMLIFrameElement final : public HTMLFrameElementBase { |
| 37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 38 public: | 38 public: |
| 39 DECLARE_NODE_FACTORY(HTMLIFrameElement); | 39 DECLARE_NODE_FACTORY(HTMLIFrameElement); |
| 40 DECLARE_VIRTUAL_TRACE(); | 40 DECLARE_VIRTUAL_TRACE(); |
| 41 ~HTMLIFrameElement() override; | 41 ~HTMLIFrameElement() override; |
| 42 DOMTokenList* sandbox() const; | 42 DOMTokenList* sandbox() const; |
| 43 DOMTokenList* permissions() const; | 43 DOMTokenList* permissions(); |
|
esprehn
2016/07/27 06:05:56
This is logically const, I'd const cast in the met
raymes
2016/07/27 06:13:45
Done.
| |
| 44 | 44 |
| 45 void sandboxValueWasSet(); | 45 void sandboxValueWasSet(); |
| 46 void permissionsValueWasSet(); | 46 void permissionsValueWasSet(); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 explicit HTMLIFrameElement(Document&); | 49 explicit HTMLIFrameElement(Document&); |
| 50 | 50 |
| 51 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; | 51 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; |
| 52 bool isPresentationAttribute(const QualifiedName&) const override; | 52 bool isPresentationAttribute(const QualifiedName&) const override; |
| 53 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; | 53 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 77 Member<HTMLIFrameElementPermissions> m_permissions; | 77 Member<HTMLIFrameElementPermissions> m_permissions; |
| 78 | 78 |
| 79 WebVector<WebPermissionType> m_delegatedPermissions; | 79 WebVector<WebPermissionType> m_delegatedPermissions; |
| 80 | 80 |
| 81 ReferrerPolicy m_referrerPolicy; | 81 ReferrerPolicy m_referrerPolicy; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif // HTMLIFrameElement_h | 86 #endif // HTMLIFrameElement_h |
| OLD | NEW |