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

Unified Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2381493005: Add bluetooth device type icons on MD system tray. (Closed)
Patch Set: Rebase Created 4 years, 2 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: ash/common/system/tray/system_tray_delegate.h
diff --git a/ash/common/system/tray/system_tray_delegate.h b/ash/common/system/tray/system_tray_delegate.h
index ef402521d01cac32143ddfb30ad7562ecc35e1aa..d360a5aa4053ee616fb9882dcee0b28d3e90f880 100644
--- a/ash/common/system/tray/system_tray_delegate.h
+++ b/ash/common/system/tray/system_tray_delegate.h
@@ -25,6 +25,10 @@ class TimeDelta;
class TimeTicks;
}
+namespace device {
+enum class BluetoothDeviceType;
+}
+
namespace ash {
struct IMEInfo;
struct IMEPropertyInfo;
@@ -55,6 +59,7 @@ struct ASH_EXPORT NetworkIconInfo {
struct ASH_EXPORT BluetoothDeviceInfo {
BluetoothDeviceInfo();
+ BluetoothDeviceInfo(const BluetoothDeviceInfo& other);
~BluetoothDeviceInfo();
std::string address;
@@ -62,6 +67,7 @@ struct ASH_EXPORT BluetoothDeviceInfo {
bool connected;
bool connecting;
bool paired;
+ device::BluetoothDeviceType device_type;
};
using BluetoothDeviceList = std::vector<BluetoothDeviceInfo>;

Powered by Google App Engine
This is Rietveld 408576698