summaryrefslogtreecommitdiff
path: root/chromium/ash/system/tray/system_tray_delegate.cc
blob: f31e3144af7e1a7b88833ef31e5ef382bd0dd041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/system/tray/system_tray_delegate.h"

#include "ash/system/tray/test_system_tray_delegate.h"

namespace ash {

NetworkIconInfo::NetworkIconInfo()
    : connecting(false),
      connected(false),
      tray_icon_visible(true),
      is_cellular(false) {
}

NetworkIconInfo::~NetworkIconInfo() {
}

BluetoothDeviceInfo::BluetoothDeviceInfo()
    : connected(false),
      connecting(false),
      paired(false) {
}

BluetoothDeviceInfo::~BluetoothDeviceInfo() {
}

DriveOperationStatus::DriveOperationStatus()
    : id(-1),
      progress(0.0),
      type(OPERATION_DOWNLOAD),
      state(OPERATION_NOT_STARTED) {
}

DriveOperationStatus::~DriveOperationStatus() {
}

IMEInfo::IMEInfo()
    : selected(false),
      third_party(false) {
}

IMEInfo::~IMEInfo() {
}

IMEPropertyInfo::IMEPropertyInfo()
    : selected(false) {
}

IMEPropertyInfo::~IMEPropertyInfo() {
}

// TODO(stevenjb/oshima): Remove this once Shell::delegate_ is guaranteed
// to not be NULL and move TestSystemTrayDelegate -> ash/test. crbug.com/159693
// static
SystemTrayDelegate* SystemTrayDelegate::CreateDummyDelegate() {
  return new test::TestSystemTrayDelegate;
}

}  // namespace ash