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 646444883fa52fe95804abdf5e81dcf076532624..243204337096b3a0dd9ff4e432c69888e155eb99 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h |
@@ -41,6 +41,7 @@ public: |
virtual int marginWidth() const = 0; |
virtual int marginHeight() const = 0; |
virtual bool allowFullscreen() const = 0; |
+ virtual bool allowVR() const = 0; |
virtual const WebVector<WebPermissionType>& delegatedPermissions() const = 0; |
}; |
@@ -64,6 +65,7 @@ public: |
int marginWidth() const override { return -1; } |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
+ bool allowVR() const override { return false; } |
const WebVector<WebPermissionType>& delegatedPermissions() const override |
{ |
DEFINE_STATIC_LOCAL(WebVector<WebPermissionType>, permissions, ()); |