Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.h

Issue 2923563003: Move container policy logic to frame owner classes. (Closed)
Patch Set: Addressing nits Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 29 matching lines...) Expand all
40 DEFINE_WRAPPERTYPEINFO(); 40 DEFINE_WRAPPERTYPEINFO();
41 USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElement); 41 USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElement);
42 42
43 public: 43 public:
44 DECLARE_NODE_FACTORY(HTMLIFrameElement); 44 DECLARE_NODE_FACTORY(HTMLIFrameElement);
45 DECLARE_VIRTUAL_TRACE(); 45 DECLARE_VIRTUAL_TRACE();
46 ~HTMLIFrameElement() override; 46 ~HTMLIFrameElement() override;
47 DOMTokenList* sandbox() const; 47 DOMTokenList* sandbox() const;
48 DOMTokenList* allow() const; 48 DOMTokenList* allow() const;
49 49
50 Vector<WebParsedFeaturePolicyDeclaration> ConstructContainerPolicy()
51 const override;
52
50 private: 53 private:
51 explicit HTMLIFrameElement(Document&); 54 explicit HTMLIFrameElement(Document&);
52 55
53 void SetCollapsed(bool) override; 56 void SetCollapsed(bool) override;
54 57
55 void ParseAttribute(const AttributeModificationParams&) override; 58 void ParseAttribute(const AttributeModificationParams&) override;
56 bool IsPresentationAttribute(const QualifiedName&) const override; 59 bool IsPresentationAttribute(const QualifiedName&) const override;
57 void CollectStyleForPresentationAttribute(const QualifiedName&, 60 void CollectStyleForPresentationAttribute(const QualifiedName&,
58 const AtomicString&, 61 const AtomicString&,
59 MutableStylePropertySet*) override; 62 MutableStylePropertySet*) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Member<HTMLIFrameElementAllow> allow_; 95 Member<HTMLIFrameElementAllow> allow_;
93 96
94 WebVector<WebFeaturePolicyFeature> allowed_features_; 97 WebVector<WebFeaturePolicyFeature> allowed_features_;
95 98
96 ReferrerPolicy referrer_policy_; 99 ReferrerPolicy referrer_policy_;
97 }; 100 };
98 101
99 } // namespace blink 102 } // namespace blink
100 103
101 #endif // HTMLIFrameElement_h 104 #endif // HTMLIFrameElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698