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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.cc

Issue 1011833002: Web MIDI: make Chrome a music platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/ui/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 650861f6d6a9e224a9cb8541193c03e5ab9f80a5..02e569187e0361b6fe31043237a7e1f531f7e812 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -986,13 +986,6 @@ void ContentSettingsHandler::UpdateMediaExceptionsView() {
}
void ContentSettingsHandler::UpdateMIDISysExExceptionsView() {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebMIDI)) {
- web_ui()->CallJavascriptFunction(
- "ContentSettings.showExperimentalWebMIDISettings",
- base::FundamentalValue(true));
- }
-
UpdateSettingDefaultFromModel(CONTENT_SETTINGS_TYPE_MIDI_SYSEX);
UpdateExceptionsViewFromHostContentSettingsMap(
CONTENT_SETTINGS_TYPE_MIDI_SYSEX);
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698