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

Unified Diff: third_party/WebKit/Source/core/frame/FrameOwner.h

Issue 2733823004: Remove old permission delegation prototype (Closed)
Patch Set: update webexposed layout tests Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/html/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameOwner.h
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h
index cbc074117b88ae1749fc7fb69074f2298ed401d5..440b85e3f88d0c78fb23a7c8c4d6b7a8a480657f 100644
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h
@@ -11,7 +11,6 @@
#include "platform/scroll/ScrollTypes.h"
#include "public/platform/WebFeaturePolicy.h"
#include "public/platform/WebVector.h"
-#include "public/platform/modules/permissions/permission.mojom-blink.h"
namespace blink {
@@ -50,8 +49,6 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin {
virtual bool allowFullscreen() const = 0;
virtual bool allowPaymentRequest() const = 0;
virtual AtomicString csp() const = 0;
- virtual const WebVector<mojom::blink::PermissionName>& delegatedPermissions()
- const = 0;
virtual const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const = 0;
};
@@ -85,12 +82,6 @@ class CORE_EXPORT DummyFrameOwner
bool allowFullscreen() const override { return false; }
bool allowPaymentRequest() const override { return false; }
AtomicString csp() const override { return nullAtom; }
- const WebVector<mojom::blink::PermissionName>& delegatedPermissions()
- const override {
- DEFINE_STATIC_LOCAL(WebVector<mojom::blink::PermissionName>, permissions,
- ());
- return permissions;
- }
const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override {
DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ());
return features;
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/html/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698