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

Unified Diff: chrome/browser/resources/options2/browser_options.js

Issue 9568054: bluetooth: add function to hide Bluetooth settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 8 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/browser_options.js
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 5bbc3bc1a27ce392f0e7272c5692a1257175defe..cf23285757e13844ead9cd2ca846d60e288ddcca 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -1119,6 +1119,14 @@ cr.define('options', function() {
},
/**
+ * Dectivates the bluetooth settings section from the System settings page.
+ * @private
+ */
+ hideBluetoothSettings_: function() {
+ $('bluetooth-devices').hidden = true;
+ },
+
+ /**
* Sets the state of the checkbox indicating if bluetooth is turned on. The
* state of the "Find devices" button and the list of discovered devices may
* also be affected by a change to the state.
@@ -1174,6 +1182,7 @@ cr.define('options', function() {
'addBluetoothDevice',
'getStartStopSyncButton',
'guestModeActive',
+ 'hideBluetoothSettings',
'removeCloudPrintConnectorSection',
'setAutoOpenFileTypesDisabledAttribute',
'setBackgroundModeCheckboxState',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698