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

Side by Side Diff: Source/web/AssertMatchingEnums.cpp

Issue 730203007: CSP: Permit exempting schemes only for certain policy areas. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: AssertMatchingEnums Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/weborigin/SchemeRegistryTest.cpp ('k') | Source/web/WebSecurityPolicy.cpp » ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #include "platform/graphics/filters/FilterOperation.h" 73 #include "platform/graphics/filters/FilterOperation.h"
74 #include "platform/graphics/media/MediaPlayer.h" 74 #include "platform/graphics/media/MediaPlayer.h"
75 #include "platform/mediastream/MediaStreamSource.h" 75 #include "platform/mediastream/MediaStreamSource.h"
76 #include "platform/network/ContentSecurityPolicyParsers.h" 76 #include "platform/network/ContentSecurityPolicyParsers.h"
77 #include "platform/network/ResourceLoadPriority.h" 77 #include "platform/network/ResourceLoadPriority.h"
78 #include "platform/network/ResourceResponse.h" 78 #include "platform/network/ResourceResponse.h"
79 #include "platform/scroll/ScrollTypes.h" 79 #include "platform/scroll/ScrollTypes.h"
80 #include "platform/text/TextChecking.h" 80 #include "platform/text/TextChecking.h"
81 #include "platform/text/TextDecoration.h" 81 #include "platform/text/TextDecoration.h"
82 #include "platform/weborigin/ReferrerPolicy.h" 82 #include "platform/weborigin/ReferrerPolicy.h"
83 #include "platform/weborigin/SchemeRegistry.h"
83 #include "public/platform/WebApplicationCacheHost.h" 84 #include "public/platform/WebApplicationCacheHost.h"
84 #include "public/platform/WebClipboard.h" 85 #include "public/platform/WebClipboard.h"
85 #include "public/platform/WebCursorInfo.h" 86 #include "public/platform/WebCursorInfo.h"
86 #include "public/platform/WebFileError.h" 87 #include "public/platform/WebFileError.h"
87 #include "public/platform/WebFileInfo.h" 88 #include "public/platform/WebFileInfo.h"
88 #include "public/platform/WebFileSystem.h" 89 #include "public/platform/WebFileSystem.h"
89 #include "public/platform/WebIDBCursor.h" 90 #include "public/platform/WebIDBCursor.h"
90 #include "public/platform/WebIDBDatabase.h" 91 #include "public/platform/WebIDBDatabase.h"
91 #include "public/platform/WebIDBDatabaseException.h" 92 #include "public/platform/WebIDBDatabaseException.h"
92 #include "public/platform/WebIDBFactory.h" 93 #include "public/platform/WebIDBFactory.h"
(...skipping 23 matching lines...) Expand all
116 #include "public/web/WebGeolocationPosition.h" 117 #include "public/web/WebGeolocationPosition.h"
117 #include "public/web/WebHistoryCommitType.h" 118 #include "public/web/WebHistoryCommitType.h"
118 #include "public/web/WebHistoryItem.h" 119 #include "public/web/WebHistoryItem.h"
119 #include "public/web/WebIconURL.h" 120 #include "public/web/WebIconURL.h"
120 #include "public/web/WebInputElement.h" 121 #include "public/web/WebInputElement.h"
121 #include "public/web/WebInputEvent.h" 122 #include "public/web/WebInputEvent.h"
122 #include "public/web/WebNavigationPolicy.h" 123 #include "public/web/WebNavigationPolicy.h"
123 #include "public/web/WebNavigatorContentUtilsClient.h" 124 #include "public/web/WebNavigatorContentUtilsClient.h"
124 #include "public/web/WebNotificationPresenter.h" 125 #include "public/web/WebNotificationPresenter.h"
125 #include "public/web/WebPageVisibilityState.h" 126 #include "public/web/WebPageVisibilityState.h"
127 #include "public/web/WebSecurityPolicy.h"
126 #include "public/web/WebSerializedScriptValueVersion.h" 128 #include "public/web/WebSerializedScriptValueVersion.h"
127 #include "public/web/WebSettings.h" 129 #include "public/web/WebSettings.h"
128 #include "public/web/WebSpeechRecognizerClient.h" 130 #include "public/web/WebSpeechRecognizerClient.h"
129 #include "public/web/WebTextAffinity.h" 131 #include "public/web/WebTextAffinity.h"
130 #include "public/web/WebTextCheckingResult.h" 132 #include "public/web/WebTextCheckingResult.h"
131 #include "public/web/WebTextCheckingType.h" 133 #include "public/web/WebTextCheckingType.h"
132 #include "public/web/WebTextDecorationType.h" 134 #include "public/web/WebTextDecorationType.h"
133 #include "public/web/WebTouchAction.h" 135 #include "public/web/WebTouchAction.h"
134 #include "public/web/WebView.h" 136 #include "public/web/WebView.h"
135 #include "wtf/Assertions.h" 137 #include "wtf/Assertions.h"
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPar se); 642 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPar se);
641 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode ); 643 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode );
642 644
643 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); 645 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone);
644 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); 646 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse);
645 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); 647 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine);
646 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); 648 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone);
647 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); 649 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand);
648 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 650 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
649 651
652 COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry:: PolicyAreaNone);
653 COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry: :PolicyAreaImage);
654 COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry: :PolicyAreaStyle);
655 COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::P olicyAreaAll);
656
650 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion); 657 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa lue::wireFormatVersion);
651 658
652 } // namespace blink 659 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/weborigin/SchemeRegistryTest.cpp ('k') | Source/web/WebSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698