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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html

Issue 2161753002: MD Settings: Bluetooth dialog, remove unnecessary 'close-dialog' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.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_device_dialog.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
index 4723b88d61f5ac1c92bb50ad90ebbcaef0a1c4d6..70d9cd369fb2fbf7fbd9332d15ad41cf2e7c8459 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
@@ -77,8 +77,7 @@
}
</style>
<cr-dialog id="dialog" class="layout vertical"
- on-iron-overlay-canceled="onIronOverlayCanceled_"
- on-iron-overlay-closed="onIronOverlayClosed_">
+ on-iron-overlay-canceled="onIronOverlayCanceled_">
<div class="title">[[getTitle_(dialogId)]]</div>
<div class="body">
<template is="dom-if" if="[[isDialogType_(dialogId, 'addDevice')]]">
@@ -153,14 +152,14 @@
disabled="[[!enableConnect_(pairingEvent, pinOrPass)]]"
on-tap="onConnectTap_">$i18n{bluetoothConnect}</paper-button>
<paper-button hidden$="[[!showDismiss_(pairingDevice, pairingEvent)]]"
- on-tap="onDismissTap_">$i18n{bluetoothDismiss}</paper-button>
+ on-tap="close">$i18n{bluetoothDismiss}</paper-button>
<paper-button hidden$="[[showDismiss_(pairingDevice, pairingEvent)]]"
on-tap="onCancelTap_">
$i18n{cancel}
</paper-button>
</template>
<template is="dom-if" if="[[isDialogType_(dialogId, 'connectError')]]">
- <paper-button on-tap="onDismissTap_">$i18n{bluetoothDismiss}
+ <paper-button on-tap="close">$i18n{bluetoothDismiss}
</paper-button>
</template>
</div>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698