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

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 1c9da5a67c862563281067325fe5b2ebed1c6c06..995f2323e050606691c678de2f97a33145a7af85 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>;
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698