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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.h

Issue 2011763006: Add an iframe permissions= attribute for implementing permission delegation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-1-flag
Patch Set: Blink-side Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/RemoteFrameOwner.h
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h
index 1c62850681d818f70af9a16b90afbf37552c8b72..aca360e1559041de2763eaf54793c972fc72b2c0 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h
@@ -36,11 +36,13 @@ public:
int marginWidth() const override { return m_marginWidth; }
int marginHeight() const override { return m_marginHeight; }
bool allowFullscreen() const override { return m_allowFullscreen; }
+ const WebVector<WebPermissionType>& delegatedPermissions() const override { return m_delegatedPermissions; }
void setScrollingMode(WebFrameOwnerProperties::ScrollingMode);
void setMarginWidth(int marginWidth) { m_marginWidth = marginWidth; }
void setMarginHeight(int marginHeight) { m_marginHeight = marginHeight; }
void setAllowFullscreen(bool allowFullscreen) { m_allowFullscreen = allowFullscreen; }
+ void setDelegatedpermissions(const WebVector<WebPermissionType>& delegatedPermissions) { m_delegatedPermissions = delegatedPermissions; }
DECLARE_VIRTUAL_TRACE();
@@ -58,6 +60,7 @@ private:
int m_marginWidth;
int m_marginHeight;
bool m_allowFullscreen;
+ WebVector<WebPermissionType> m_delegatedPermissions;
};
DEFINE_TYPE_CASTS(RemoteFrameOwner, FrameOwner, owner, owner->isRemote(), owner.isRemote());
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698