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

Unified Diff: chrome/browser/resources/chromeos/emulator/battery_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/battery_settings.js
diff --git a/chrome/browser/resources/chromeos/emulator/battery_settings.js b/chrome/browser/resources/chromeos/emulator/battery_settings.js
index da58e7e55a17a916aed99c0784009362456c1be6..3a9c955aac0f8bfcc69313dd05e408337351e35a 100644
--- a/chrome/browser/resources/chromeos/emulator/battery_settings.js
+++ b/chrome/browser/resources/chromeos/emulator/battery_settings.js
@@ -5,6 +5,8 @@
var BatterySettings = Polymer({
is: 'battery-settings',
+ behaviors: [Polymer.NeonAnimatableBehavior],
+
properties: {
/** The system's battery percentage. */
batteryPercent: Number,
@@ -69,12 +71,6 @@ var BatterySettings = Polymer({
/** A string representing the time left until the battery is at 100%. */
timeUntilFull: String,
-
- /** The title for the settings section. */
- title: {
- type: String,
- value: 'Power',
- },
},
observers: [

Powered by Google App Engine
This is Rietveld 408576698