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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.h

Issue 2945223002: Add deprecation warnings for permission API usage from iframes (Closed)
Patch Set: . Created 3 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Deprecation.h
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.h b/third_party/WebKit/Source/core/frame/Deprecation.h
index 99fe14d9ab2828680237d4c79992eed6aad3463f..361c8da8ccedb0278c607ef62adc7f5364861fa3 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.h
+++ b/third_party/WebKit/Source/core/frame/Deprecation.h
@@ -14,6 +14,7 @@
namespace blink {
class LocalFrame;
+enum class WebFeaturePolicyFeature;
class CORE_EXPORT Deprecation {
DISALLOW_NEW();
@@ -47,6 +48,9 @@ class CORE_EXPORT Deprecation {
// have script access into the top level document.
static void CountDeprecationCrossOriginIframe(const LocalFrame*, WebFeature);
static void CountDeprecationCrossOriginIframe(const Document&, WebFeature);
+
+ static void CountDeprecationFeaturePolicy(const Document&,
+ WebFeaturePolicyFeature);
static String DeprecationMessage(WebFeature);
// Note: this is only public for tests.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698