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

Unified Diff: components/test_runner/web_content_settings.h

Issue 1417033010: Adding <keygen> Content Setting (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keygen_core
Patch Set: Clean up code. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/test_runner/web_content_settings.h
diff --git a/components/test_runner/web_content_settings.h b/components/test_runner/web_content_settings.h
index dab51edc6c0552144720a069f8e8efd6faec088e..ab635be1899ff69d35288a5bca946ab1521f14e1 100644
--- a/components/test_runner/web_content_settings.h
+++ b/components/test_runner/web_content_settings.h
@@ -24,6 +24,7 @@ class WebContentSettings : public blink::WebContentSettingsClient {
bool allowScriptFromSource(bool enabledPerSettings,
const blink::WebURL& scriptURL) override;
bool allowStorage(bool local) override;
+ bool allowKeygen() override;
bool allowPlugins(bool enabledPerSettings) override;
bool allowDisplayingInsecureContent(bool enabledPerSettings,
const blink::WebSecurityOrigin&,
@@ -37,6 +38,7 @@ class WebContentSettings : public blink::WebContentSettingsClient {
void SetMediaAllowed(bool);
void SetScriptsAllowed(bool);
void SetStorageAllowed(bool);
+ void SetKeygenAllowed(bool);
void SetPluginsAllowed(bool);
void SetDisplayingInsecureContentAllowed(bool);
void SetRunningInsecureContentAllowed(bool);
@@ -55,6 +57,7 @@ class WebContentSettings : public blink::WebContentSettingsClient {
bool media_allowed_;
bool scripts_allowed_;
bool storage_allowed_;
+ bool keygen_allowed_;
bool plugins_allowed_;
bool displaying_insecure_content_allowed_;
bool running_insecure_content_allowed_;

Powered by Google App Engine
This is Rietveld 408576698