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

Unified Diff: Source/core/dom/SandboxFlags.h

Issue 272213002: Add support for 'allow-orientation-lock' sandboxing directive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert bad local change Created 6 years, 7 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
Index: Source/core/dom/SandboxFlags.h
diff --git a/Source/core/dom/SandboxFlags.h b/Source/core/dom/SandboxFlags.h
index 54d0a884036d98c964c6ab144f69c4e5188bad2d..3e980d9d610e2adcc758586fe3e9f72568dd862f 100644
--- a/Source/core/dom/SandboxFlags.h
+++ b/Source/core/dom/SandboxFlags.h
@@ -44,6 +44,7 @@ enum SandboxFlag {
SandboxAutomaticFeatures = 1 << 7,
SandboxPointerLock = 1 << 8,
SandboxDocumentDomain = 1 << 9,
+ SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orientation/#dfn-sandboxed-orientation-lock-browsing-context-flag.
SandboxAll = -1 // Mask with all bits set to 1.
};
« no previous file with comments | « LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html ('k') | Source/core/dom/SandboxFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698