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

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

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Update rebase Created 3 years, 10 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ReferrerPolicy referrerPolicyAttribute() override; 78 ReferrerPolicy referrerPolicyAttribute() override;
79 79
80 // FrameOwner overrides: 80 // FrameOwner overrides:
81 bool allowFullscreen() const override { return m_allowFullscreen; } 81 bool allowFullscreen() const override { return m_allowFullscreen; }
82 bool allowPaymentRequest() const override { return m_allowPaymentRequest; } 82 bool allowPaymentRequest() const override { return m_allowPaymentRequest; }
83 AtomicString csp() const override { return m_csp; } 83 AtomicString csp() const override { return m_csp; }
84 const WebVector<mojom::blink::PermissionName>& delegatedPermissions() 84 const WebVector<mojom::blink::PermissionName>& delegatedPermissions()
85 const override { 85 const override {
86 return m_delegatedPermissions; 86 return m_delegatedPermissions;
87 } 87 }
88 const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override {
89 return m_allowedFeatures;
90 }
88 91
89 bool initializePermissionsAttribute(); 92 bool initializePermissionsAttribute();
90 93
91 AtomicString m_name; 94 AtomicString m_name;
92 AtomicString m_csp; 95 AtomicString m_csp;
93 bool m_didLoadNonEmptyDocument; 96 bool m_didLoadNonEmptyDocument;
94 bool m_allowFullscreen; 97 bool m_allowFullscreen;
95 bool m_allowPaymentRequest; 98 bool m_allowPaymentRequest;
96 Member<HTMLIFrameElementSandbox> m_sandbox; 99 Member<HTMLIFrameElementSandbox> m_sandbox;
97 Member<HTMLIFrameElementPermissions> m_permissions; 100 Member<HTMLIFrameElementPermissions> m_permissions;
98 Member<HTMLIFrameElementAllow> m_allow; 101 Member<HTMLIFrameElementAllow> m_allow;
99 102
100 WebVector<mojom::blink::PermissionName> m_delegatedPermissions; 103 WebVector<mojom::blink::PermissionName> m_delegatedPermissions;
101 WebVector<WebFeaturePolicyFeature> m_allowedFeatureNames; 104 WebVector<WebFeaturePolicyFeature> m_allowedFeatures;
102 105
103 ReferrerPolicy m_referrerPolicy; 106 ReferrerPolicy m_referrerPolicy;
104 }; 107 };
105 108
106 } // namespace blink 109 } // namespace blink
107 110
108 #endif // HTMLIFrameElement_h 111 #endif // HTMLIFrameElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698