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

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

Issue 1999593002: Update chrome://device-emulator with newer Polymer guidelines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: narrow mode drawer + webui safety Created 4 years, 7 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 739c21c6689f9a00afb3ab19507627ff3e53d96a..ef7adb9fab889d79ec606897bdbd341669d85861 100644
--- a/chrome/browser/resources/chromeos/emulator/audio_settings.js
+++ b/chrome/browser/resources/chromeos/emulator/audio_settings.js
@@ -49,6 +49,8 @@ var AudioNode = function() {
Polymer({
is: 'audio-settings',
+ behaviors: [Polymer.NeonAnimatableBehavior],
+
properties: {
/**
* An AudioNode which is currently being edited.
@@ -103,11 +105,6 @@ Polymer({
];
}
},
-
- /**
- * The title to be displayed in a heading element for the element.
- */
- title: {type: String},
},
ready: function() {
@@ -184,15 +181,15 @@ Polymer({
},
/**
- * Shows a modal dialog to edit the selected node's properties.
+ * Shows a dialog to edit the selected node's properties.
* @param {Event} event Contains event data. |event.model.index| is the index
* of the item which the target is contained in.
*/
- showEditModal: function(event) {
+ showEditDialog: function(event) {
var index = event.model.index;
this.currentEditIndex = index;
this.currentEditableObject = this.nodes[index];
- this.$.editModal.toggle();
+ this.$.editDialog.toggle();
},
/**

Powered by Google App Engine
This is Rietveld 408576698