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

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

Issue 2887233003: ../platform/ => public/platform/ (Closed)
Patch Set: Revert a few more header includes Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #ifndef WebSandboxFlags_h 5 #ifndef WebSandboxFlags_h
6 #define WebSandboxFlags_h 6 #define WebSandboxFlags_h
7 7
8 #include "../platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // See http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-sandbox 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 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 14 // Source/core/dom/SandboxFlags.h. Enforced in AssertMatchingEnums.cpp
15 enum class WebSandboxFlags : int { 15 enum class WebSandboxFlags : int {
16 kNone = 0, 16 kNone = 0,
17 kNavigation = 1, 17 kNavigation = 1,
18 kPlugins = 1 << 1, 18 kPlugins = 1 << 1,
(...skipping 25 matching lines...) Expand all
44 return a = a | b; 44 return a = a | b;
45 } 45 }
46 46
47 inline WebSandboxFlags operator~(WebSandboxFlags flags) { 47 inline WebSandboxFlags operator~(WebSandboxFlags flags) {
48 return static_cast<WebSandboxFlags>(~static_cast<int>(flags)); 48 return static_cast<WebSandboxFlags>(~static_cast<int>(flags));
49 } 49 }
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // WebSandboxFlags_h 53 #endif // WebSandboxFlags_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebRuntimeFeatures.h ('k') | third_party/WebKit/public/web/WebScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698