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

Side by Side 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: 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 | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #include "public/web/WebFormElement.h" 115 #include "public/web/WebFormElement.h"
116 #include "public/web/WebGeolocationError.h" 116 #include "public/web/WebGeolocationError.h"
117 #include "public/web/WebGeolocationPosition.h" 117 #include "public/web/WebGeolocationPosition.h"
118 #include "public/web/WebHistoryCommitType.h" 118 #include "public/web/WebHistoryCommitType.h"
119 #include "public/web/WebHistoryItem.h" 119 #include "public/web/WebHistoryItem.h"
120 #include "public/web/WebIconURL.h" 120 #include "public/web/WebIconURL.h"
121 #include "public/web/WebInputElement.h" 121 #include "public/web/WebInputElement.h"
122 #include "public/web/WebInputEvent.h" 122 #include "public/web/WebInputEvent.h"
123 #include "public/web/WebNavigationPolicy.h" 123 #include "public/web/WebNavigationPolicy.h"
124 #include "public/web/WebNavigatorContentUtilsClient.h" 124 #include "public/web/WebNavigatorContentUtilsClient.h"
125 #include "public/web/WebSandboxFlags.h"
125 #include "public/web/WebSecurityPolicy.h" 126 #include "public/web/WebSecurityPolicy.h"
126 #include "public/web/WebSerializedScriptValueVersion.h" 127 #include "public/web/WebSerializedScriptValueVersion.h"
127 #include "public/web/WebSettings.h" 128 #include "public/web/WebSettings.h"
128 #include "public/web/WebSpeechRecognizerClient.h" 129 #include "public/web/WebSpeechRecognizerClient.h"
129 #include "public/web/WebTextAffinity.h" 130 #include "public/web/WebTextAffinity.h"
130 #include "public/web/WebTextCheckingResult.h" 131 #include "public/web/WebTextCheckingResult.h"
131 #include "public/web/WebTextCheckingType.h" 132 #include "public/web/WebTextCheckingType.h"
132 #include "public/web/WebTextDecorationType.h" 133 #include "public/web/WebTextDecorationType.h"
133 #include "public/web/WebTouchAction.h" 134 #include "public/web/WebTouchAction.h"
134 #include "public/web/WebView.h" 135 #include "public/web/WebView.h"
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); 660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand);
660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 661 STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
661 662
662 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::P olicyAreaNone); 663 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::P olicyAreaNone);
663 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry:: PolicyAreaImage); 664 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry:: PolicyAreaImage);
664 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry:: PolicyAreaStyle); 665 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry:: PolicyAreaStyle);
665 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::Po licyAreaAll); 666 STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::Po licyAreaAll);
666 667
667 STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVal ue::wireFormatVersion); 668 STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVal ue::wireFormatVersion);
668 669
670 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::None, SandboxNone);
671 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Navigation, SandboxNavigation);
672 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Plugins, SandboxPlugins);
673 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Origin, SandboxOrigin);
674 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Forms, SandboxForms);
675 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Scripts, SandboxScripts);
676 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation );
677 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
678 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
679 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
680 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
681 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
669 } // namespace blink 682 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698