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

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

Issue 1568703002: Add Bluetooth settings dialog tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: .. Created 4 years, 11 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 | chrome/test/data/webui/settings/bluetooth_page_browsertest_chromeos.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
index 9ee5e6a81c2868ad97858eb96bb5a99edbef8f17..fe286744b2bdaf12d4a3bcec2cb456ebb2f6b377 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_pair_device_dialog.js
@@ -172,6 +172,8 @@ Polymer({
/** @private */
onCancelTap_: function() {
this.sendResponse_(chrome.bluetoothPrivate.PairingResponse.CANCEL);
+ // Close the dialog immediately.
+ this.fire('close-dialog', '');
},
/** @private */
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/bluetooth_page_browsertest_chromeos.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698