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

Side by Side Diff: third_party/WebKit/Source/core/dom/SandboxFlags.h

Issue 2696703010: Rename the flag of 'allow-top-navigation-with-user-activation' to 'allow-top-navigation-by-user-act… (Closed)
Patch Set: Add the *-with-two-flags-expected.txt that I forgot previously. Created 3 years, 10 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
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 SandboxDocumentDomain = 1 << 9, 49 SandboxDocumentDomain = 1 << 9,
50 // See 50 // See
51 // https://w3c.github.io/screen-orientation/#dfn-sandboxed-orientation-lock-br owsing-context-flag. 51 // https://w3c.github.io/screen-orientation/#dfn-sandboxed-orientation-lock-br owsing-context-flag.
52 SandboxOrientationLock = 1 << 10, 52 SandboxOrientationLock = 1 << 10,
53 SandboxPropagatesToAuxiliaryBrowsingContexts = 1 << 11, 53 SandboxPropagatesToAuxiliaryBrowsingContexts = 1 << 11,
54 SandboxModals = 1 << 12, 54 SandboxModals = 1 << 12,
55 // See 55 // See
56 // https://w3c.github.io/presentation-api/#sandboxing-and-the-allow-presentati on-keyword 56 // https://w3c.github.io/presentation-api/#sandboxing-and-the-allow-presentati on-keyword
57 SandboxPresentation = 1 << 13, 57 SandboxPresentation = 1 << 13,
58 // See https://github.com/WICG/interventions/issues/42. 58 // See https://github.com/WICG/interventions/issues/42.
59 SandboxTopNavigationWithUserActivation = 1 << 14, 59 SandboxTopNavigationByUserActivation = 1 << 14,
60 SandboxAll = -1 // Mask with all bits set to 1. 60 SandboxAll = -1 // Mask with all bits set to 1.
61 }; 61 };
62 62
63 typedef int SandboxFlags; 63 typedef int SandboxFlags;
64 64
65 SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, 65 SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy,
66 String& invalidTokensErrorMessage); 66 String& invalidTokensErrorMessage);
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif 70 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698