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

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

Issue 2958193002: Device emulator: Replace usage of paper-dialog with cr-dialog. (Closed)
Patch Set: Created 3 years, 6 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/audio_settings.js
diff --git a/chrome/browser/resources/chromeos/emulator/audio_settings.js b/chrome/browser/resources/chromeos/emulator/audio_settings.js
index 08ef9c230bcd53ff07708f00ed72e2f3a7ca19c2..712eab021871e250939da2d9076d943df7b98b3b 100644
--- a/chrome/browser/resources/chromeos/emulator/audio_settings.js
+++ b/chrome/browser/resources/chromeos/emulator/audio_settings.js
@@ -160,6 +160,7 @@ Polymer({
// in |node|.
var node = this.nodes[this.currentEditIndex];
chrome.send('insertAudioNode', [node]);
+ this.$.editDialog.close();
},
/**
@@ -199,7 +200,7 @@ Polymer({
var index = event.model.index;
this.currentEditIndex = index;
this.currentEditableObject = this.nodes[index];
- this.$.editDialog.toggle();
+ this.$.editDialog.showModal();
},
/**

Powered by Google App Engine
This is Rietveld 408576698