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

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

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 unified diff | Download patch
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/resources/vector_icons/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/system/tray/system_tray_delegate.h" 5 #include "ash/common/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/common/system/tray/ime_info.h" 7 #include "ash/common/system/tray/ime_info.h"
8 #include "ash/common/system/tray/system_tray_item.h" 8 #include "ash/common/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 NetworkIconInfo::NetworkIconInfo() 12 NetworkIconInfo::NetworkIconInfo()
13 : connecting(false), 13 : connecting(false),
14 connected(false), 14 connected(false),
15 tray_icon_visible(true), 15 tray_icon_visible(true),
16 is_cellular(false) {} 16 is_cellular(false) {}
17 17
18 NetworkIconInfo::~NetworkIconInfo() {} 18 NetworkIconInfo::~NetworkIconInfo() {}
19 19
20 BluetoothDeviceInfo::BluetoothDeviceInfo() 20 BluetoothDeviceInfo::BluetoothDeviceInfo()
21 : connected(false), connecting(false), paired(false) {} 21 : connected(false), connecting(false), paired(false) {}
22 22
23 BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) =
24 default;
25
23 BluetoothDeviceInfo::~BluetoothDeviceInfo() {} 26 BluetoothDeviceInfo::~BluetoothDeviceInfo() {}
24 27
25 UpdateInfo::UpdateInfo() 28 UpdateInfo::UpdateInfo()
26 : severity(UPDATE_NONE), 29 : severity(UPDATE_NONE),
27 update_required(false), 30 update_required(false),
28 factory_reset_required(false) {} 31 factory_reset_required(false) {}
29 32
30 UpdateInfo::~UpdateInfo() {} 33 UpdateInfo::~UpdateInfo() {}
31 34
32 SystemTrayDelegate::SystemTrayDelegate() {} 35 SystemTrayDelegate::SystemTrayDelegate() {}
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 191 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
189 return nullptr; 192 return nullptr;
190 } 193 }
191 194
192 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 195 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
193 SystemTray* tray) { 196 SystemTray* tray) {
194 return nullptr; 197 return nullptr;
195 } 198 }
196 199
197 } // namespace ash 200 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/resources/vector_icons/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698