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

Unified Diff: Source/web/AssertMatchingEnums.cpp

Issue 793493003: Prepare to replicate sandbox flags for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/AssertMatchingEnums.cpp
diff --git a/Source/web/AssertMatchingEnums.cpp b/Source/web/AssertMatchingEnums.cpp
index 50aeb50d4670d2516add35183b61171c5bd721d3..72db35f2d0bca1ab3a7983d8d571eed3d2bd8124 100644
--- a/Source/web/AssertMatchingEnums.cpp
+++ b/Source/web/AssertMatchingEnums.cpp
@@ -122,6 +122,7 @@
#include "public/web/WebNavigationPolicy.h"
#include "public/web/WebNavigatorContentUtilsClient.h"
#include "public/web/WebPageVisibilityState.h"
+#include "public/web/WebSandboxFlags.h"
#include "public/web/WebSecurityPolicy.h"
#include "public/web/WebSerializedScriptValueVersion.h"
#include "public/web/WebSettings.h"
@@ -666,4 +667,16 @@ STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::Po
STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptValue::wireFormatVersion);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxNone, SandboxNone);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxNavigation, SandboxNavigation);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxPlugins, SandboxPlugins);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxOrigin, SandboxOrigin);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxForms, SandboxForms);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxScripts, SandboxScripts);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxTopNavigation, SandboxTopNavigation);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxPopups, SandboxPopups);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxAutomaticFeatures, SandboxAutomaticFeatures);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxPointerLock, SandboxPointerLock);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxDocumentDomain, SandboxDocumentDomain);
+STATIC_ASSERT_MATCHING_ENUM(WebSandboxOrientationLock, SandboxOrientationLock);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698