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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/settings/bluetooth_page/bluetooth_page.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
index ba1b7d92e51d70753882e2bd1ae3e65a7c316876..a91d742ee8ccce8ce0df13af9cfa31fea66e174c 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js
@@ -531,7 +531,7 @@ Polymer({
Polymer.dom.flush();
var dialog = this.$$('#deviceDialog');
dialog.open();
- dialog.focus();
+ this.startDiscovery_();
},
/** @private */
@@ -541,7 +541,4 @@ Polymer({
this.pairingDevice = null;
this.pairingEvent = null;
},
-
- /** @private */
- onDialogOpened_: function() { this.startDiscovery_(); },
});

Powered by Google App Engine
This is Rietveld 408576698