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

Unified Diff: chrome/browser/resources/options/content_settings.js

Issue 2004353002: Delete unused code for exclusive access permission prompting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-mac-remove-window-controller
Patch Set: Remove unused element ids. Created 4 years, 7 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/resources/options/content_settings.js
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
index 33cac98257f4c9a08e87a3fa3c3db94a921c6203..cab5e6a31a901337ea0a5e5289e869677335e436 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -204,19 +204,6 @@ cr.define('options', function() {
};
/**
- * Shows/hides parts of the fullscreen and mouselock sections.
- * @param {boolean} deprecationVisible Whether to show (or hide) the
- * deprecation warning labels.
- * @param {boolean} globalsVisible Whether to show (or hide) global settings.
- */
- ContentSettings.setExclusiveAccessVisible = function(
- deprecationVisible, globalsVisible) {
- $('fullscreen-deprecated').hidden = !deprecationVisible;
- $('mouselock-deprecated').hidden = !deprecationVisible;
- $('mouselock-global-settings').hidden = !globalsVisible;
- };
-
- /**
* Updates the microphone/camera devices menu with the given entries.
* @param {string} type The device type.
* @param {Array} devices List of available devices.

Powered by Google App Engine
This is Rietveld 408576698