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

Side by Side Diff: ash/system/tray/system_tray_delegate.cc

Issue 1931563002: Add Bluetooth device type icons on the device list in system tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/tray/system_tray_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 NetworkIconInfo::NetworkIconInfo() 9 NetworkIconInfo::NetworkIconInfo()
10 : connecting(false), 10 : connecting(false),
11 connected(false), 11 connected(false),
12 tray_icon_visible(true), 12 tray_icon_visible(true),
13 is_cellular(false) { 13 is_cellular(false) {
14 } 14 }
15 15
16 NetworkIconInfo::~NetworkIconInfo() { 16 NetworkIconInfo::~NetworkIconInfo() {
17 } 17 }
18 18
19 BluetoothDeviceInfo::BluetoothDeviceInfo() 19 BluetoothDeviceInfo::BluetoothDeviceInfo()
20 : connected(false), connecting(false), paired(false) { 20 : device_type(ash::BluetoothDeviceInfo::DEVICE_UNKNOWN),
21 } 21 connected(false),
22 connecting(false),
23 paired(false) {}
24
25 BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) =
26 default;
22 27
23 BluetoothDeviceInfo::~BluetoothDeviceInfo() { 28 BluetoothDeviceInfo::~BluetoothDeviceInfo() {
24 } 29 }
25 30
26 IMEInfo::IMEInfo() : selected(false), third_party(false) { 31 IMEInfo::IMEInfo() : selected(false), third_party(false) {
27 } 32 }
28 33
29 IMEInfo::IMEInfo(const IMEInfo& other) = default; 34 IMEInfo::IMEInfo(const IMEInfo& other) = default;
30 35
31 IMEInfo::~IMEInfo() { 36 IMEInfo::~IMEInfo() {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 284
280 void SystemTrayDelegate::ShouldRebootOnShutdown( 285 void SystemTrayDelegate::ShouldRebootOnShutdown(
281 const RebootOnShutdownCallback& callback) { 286 const RebootOnShutdownCallback& callback) {
282 } 287 }
283 288
284 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 289 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
285 return nullptr; 290 return nullptr;
286 } 291 }
287 292
288 } // namespace ash 293 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698