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

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

Issue 2682953002: Make delegated permissions use mojo generated -permissions. (Closed)
Patch Set: fix nit 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) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void renderFallbackContent() override {} 84 void renderFallbackContent() override {}
85 AtomicString browsingContextContainerName() const override { 85 AtomicString browsingContextContainerName() const override {
86 return getAttribute(HTMLNames::nameAttr); 86 return getAttribute(HTMLNames::nameAttr);
87 } 87 }
88 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } 88 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; }
89 int marginWidth() const override { return -1; } 89 int marginWidth() const override { return -1; }
90 int marginHeight() const override { return -1; } 90 int marginHeight() const override { return -1; }
91 bool allowFullscreen() const override { return false; } 91 bool allowFullscreen() const override { return false; }
92 bool allowPaymentRequest() const override { return false; } 92 bool allowPaymentRequest() const override { return false; }
93 AtomicString csp() const override { return nullAtom; } 93 AtomicString csp() const override { return nullAtom; }
94 const WebVector<WebPermissionType>& delegatedPermissions() const override; 94 const WebVector<mojom::blink::PermissionName>& delegatedPermissions()
95 const override;
95 96
96 DECLARE_VIRTUAL_TRACE(); 97 DECLARE_VIRTUAL_TRACE();
97 98
98 protected: 99 protected:
99 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); 100 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
100 void setSandboxFlags(SandboxFlags); 101 void setSandboxFlags(SandboxFlags);
101 102
102 bool loadOrRedirectSubframe(const KURL&, 103 bool loadOrRedirectSubframe(const KURL&,
103 const AtomicString& frameName, 104 const AtomicString& frameName,
104 bool replaceCurrentItem); 105 bool replaceCurrentItem);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 166
166 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, 167 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement,
167 FrameOwner, 168 FrameOwner,
168 owner, 169 owner,
169 owner->isLocal(), 170 owner->isLocal(),
170 owner.isLocal()); 171 owner.isLocal());
171 172
172 } // namespace blink 173 } // namespace blink
173 174
174 #endif // HTMLFrameOwnerElement_h 175 #endif // HTMLFrameOwnerElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameOwner.h ('k') | third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698