OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2013 Google Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orient
ation/#dfn-sandboxed-orientation-lock-browsing-context-flag. | 48 SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orient
ation/#dfn-sandboxed-orientation-lock-browsing-context-flag. |
49 SandboxPropagatesToAuxiliaryBrowsingContexts = 1 << 11, | 49 SandboxPropagatesToAuxiliaryBrowsingContexts = 1 << 11, |
50 SandboxModals = 1 << 12, | 50 SandboxModals = 1 << 12, |
51 SandboxAll = -1 // Mask with all bits set to 1. | 51 SandboxAll = -1 // Mask with all bits set to 1. |
52 }; | 52 }; |
53 | 53 |
54 typedef int SandboxFlags; | 54 typedef int SandboxFlags; |
55 | 55 |
56 SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, String& invalidT
okensErrorMessage); | 56 SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, String& invalidT
okensErrorMessage); |
57 | 57 |
58 } | 58 } // namespace blink |
59 | 59 |
60 #endif | 60 #endif |
OLD | NEW |