summaryrefslogtreecommitdiff
path: root/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js')
-rw-r--r--chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js
index 703d39efdbb..6003ccf2f5d 100644
--- a/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js
+++ b/chromium/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_battery_icon_percentage.js
@@ -15,9 +15,10 @@ import './bluetooth_icons.js';
import {I18nBehavior, I18nBehaviorInterface} from '//resources/js/i18n_behavior.m.js';
import {html, mixinBehaviors, PolymerElement} from '//resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {assert} from 'chrome://resources/js/assert.m.js';
+import {BluetoothDeviceProperties} from 'chrome://resources/mojo/chromeos/services/bluetooth_config/public/mojom/cros_bluetooth_config.mojom-webui.js';
import {BatteryType} from './bluetooth_types.js';
-import {getBatteryPercentage, hasAnyDetailedBatteryInfo} from './bluetooth_utils.js';
+import {getBatteryPercentage} from './bluetooth_utils.js';
/**
* The threshold percentage where any battery percentage lower is considered
@@ -59,7 +60,7 @@ export class BluetoothBatteryIconPercentageElement extends
static get properties() {
return {
/**
- * @type {!chromeos.bluetoothConfig.mojom.BluetoothDeviceProperties}
+ * @type {!BluetoothDeviceProperties}
*/
device: {
type: Object,
@@ -99,7 +100,7 @@ export class BluetoothBatteryIconPercentageElement extends
}
/**
- * @param {!chromeos.bluetoothConfig.mojom.BluetoothDeviceProperties}
+ * @param {!BluetoothDeviceProperties}
* device
* @param {!BatteryType} batteryType
* @return {boolean}
@@ -131,7 +132,7 @@ export class BluetoothBatteryIconPercentageElement extends
}
/**
- * @param {!chromeos.bluetoothConfig.mojom.BluetoothDeviceProperties}
+ * @param {!BluetoothDeviceProperties}
* device
* @param {!BatteryType} batteryType
* @return {string}
@@ -171,7 +172,7 @@ export class BluetoothBatteryIconPercentageElement extends
}
/**
- * @param {!chromeos.bluetoothConfig.mojom.BluetoothDeviceProperties}
+ * @param {!BluetoothDeviceProperties}
* device
* @param {!BatteryType} batteryType
* @return {string}