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

Unified Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameOwnerProperties.h
diff --git a/third_party/WebKit/public/web/WebFrameOwnerProperties.h b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
index 9e70bc1a76745773a6d5e33b1b4dc8c2fe8343d6..077e20d0adfc5a73821aa41b06057ad857624663 100644
--- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
+++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
@@ -7,7 +7,8 @@
#include "../platform/WebString.h"
#include "../platform/WebVector.h"
-#include "../platform/modules/permissions/WebPermissionType.h"
+#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom-shared.h"
+
#include <algorithm>
namespace blink {
@@ -22,7 +23,7 @@ struct WebFrameOwnerProperties {
bool allowFullscreen;
bool allowPaymentRequest;
WebString requiredCsp;
- WebVector<WebPermissionType> delegatedPermissions;
+ WebVector<mojom::PermissionName> delegatedPermissions;
WebFrameOwnerProperties()
: scrollingMode(ScrollingMode::Auto),
@@ -40,7 +41,7 @@ struct WebFrameOwnerProperties {
bool allowFullscreen,
bool allowPaymentRequest,
const WebString& requiredCsp,
- const WebVector<WebPermissionType>& delegatedPermissions)
+ const WebVector<mojom::PermissionName>& delegatedPermissions)
: name(name),
scrollingMode(static_cast<ScrollingMode>(scrollingMode)),
marginWidth(marginWidth),
« no previous file with comments | « third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698