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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h

Issue 2730303002: Move Feature Policy test to Frame (Closed)
Patch Set: Fix rebase Created 3 years, 9 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/bindings/core/v8/ConditionalFeaturesForCore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h
index d12244f7db9b89e0e04c776283ddc9ebfcc8e8c4..4d1a1d3b8749ece1b405c243c6eb41630e0f5599 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.h
@@ -6,12 +6,10 @@
#define ConditionalFeaturesForCore_h
#include "core/CoreExport.h"
-#include "public/platform/WebFeaturePolicy.h"
#include "v8/include/v8.h"
namespace blink {
-class Frame;
class ScriptState;
// Installs all of the conditionally enabled V8 bindings on the Window object.
@@ -20,10 +18,6 @@ class ScriptState;
// when the V8 context is reused (i.e., after navigation)
CORE_EXPORT void installConditionalFeaturesOnWindow(const ScriptState*);
-// Tests whether the feature-policy controlled feature is enabled by policy in
-// the given frame.
-CORE_EXPORT bool isFeatureEnabledInFrame(WebFeaturePolicyFeature, const Frame*);
-
CORE_EXPORT void registerInstallConditionalFeaturesForCore();
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698