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

Side by Side Diff: public/web/WebSandboxFlags.h

Issue 793493003: Prepare to replicate sandbox flags for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Second round of dcheng's comments Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file.
4
5 #ifndef WebSandboxFlags_h
6 #define WebSandboxFlags_h
7
8 #include "../platform/WebCommon.h"
9
10 namespace blink {
11
12 // See http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-sandbox
13 // for a list of the sandbox flags. This enum should be kept in sync with
14 // Source/core/dom/SandboxFlags.h. Enforced in AssertMatchingEnums.cpp
15 enum class WebSandboxFlags : int {
16 None = 0,
17 Navigation = 1,
18 Plugins = 1 << 1,
19 Origin = 1 << 2,
20 Forms = 1 << 3,
21 Scripts = 1 << 4,
22 TopNavigation = 1 << 5,
23 Popups = 1 << 6,
24 AutomaticFeatures = 1 << 7,
25 PointerLock = 1 << 8,
26 DocumentDomain = 1 << 9,
27 OrientationLock = 1 << 10,
28 All = -1
29 };
30
31 } // namespace blink
32
33 #endif // WebSandboxFlags_h
OLDNEW
« no previous file with comments | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698