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

Unified Diff: chrome/browser/resources/chromeos/emulator/bluetooth_settings.js

Issue 2006083002: Use fake Input Device Settings with chrome://device-emulator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DevicePageTestsFixes
Patch Set: make dependent on a11y fix Created 4 years, 5 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/chromeos/emulator/bluetooth_settings.js
diff --git a/chrome/browser/resources/chromeos/emulator/bluetooth_settings.js b/chrome/browser/resources/chromeos/emulator/bluetooth_settings.js
index 341375daef1c342dfd23ce8afe5aea1310d26845..a8a5b055c9bbcc903edbc78fd86798950597c1e0 100644
--- a/chrome/browser/resources/chromeos/emulator/bluetooth_settings.js
+++ b/chrome/browser/resources/chromeos/emulator/bluetooth_settings.js
@@ -133,13 +133,8 @@ Polymer({
*/
devicePaths: {},
- ready: function() { this.title = 'Bluetooth'; },
-
- initialize: function() {
- if (!this.initialized) {
- this.initialized = true;
- chrome.send('requestBluetoothInfo');
- }
+ ready: function() {
+ chrome.send('requestBluetoothInfo');
},
observers: ['currentEditableObjectChanged(currentEditableObject.*)'],

Powered by Google App Engine
This is Rietveld 408576698