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 3 // found in the LICENSE file. 4 5 #include "ash/system/tray/system_tray_delegate.h" 6 7 #include "ash/system/tray/test_system_tray_delegate.h" 8 9 namespace ash { 10 11 NetworkIconInfo::NetworkIconInfo() 12 : connecting(false), 13 connected(false), 14 tray_icon_visible(true), 15 is_cellular(false) { 16 } 17 18 NetworkIconInfo::~NetworkIconInfo() { 19 } 20 21 BluetoothDeviceInfo::BluetoothDeviceInfo() 22 : connected(false), 23 connecting(false), 24 paired(false) { 25 } 26 27 BluetoothDeviceInfo::~BluetoothDeviceInfo() { 28 } 29 30 DriveOperationStatus::DriveOperationStatus() 31 : id(-1), 32 progress(0.0), 33 type(OPERATION_DOWNLOAD), 34 state(OPERATION_NOT_STARTED) { 35 } 36 37 DriveOperationStatus::~DriveOperationStatus() { 38 } 39 40 IMEInfo::IMEInfo() 41 : selected(false), 42 third_party(false) { 43 } 44 45 IMEInfo::~IMEInfo() { 46 } 47 48 IMEPropertyInfo::IMEPropertyInfo() 49 : selected(false) { 50 } 51 52 IMEPropertyInfo::~IMEPropertyInfo() { 53 } 54 55 // TODO(stevenjb/oshima): Remove this once Shell::delegate_ is guaranteed 56 // to not be NULL and move TestSystemTrayDelegate -> ash/test. crbug.com/159693 57 // static 58 SystemTrayDelegate* SystemTrayDelegate::CreateDummyDelegate() { 59 return new test::TestSystemTrayDelegate; 60 } 61 62 } // namespace ash 63