Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / ash / system / tray / system_tray_delegate.cc
blobf31e3144af7e1a7b88833ef31e5ef382bd0dd041
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.
5 #include "ash/system/tray/system_tray_delegate.h"
7 #include "ash/system/tray/test_system_tray_delegate.h"
9 namespace ash {
11 NetworkIconInfo::NetworkIconInfo()
12 : connecting(false),
13 connected(false),
14 tray_icon_visible(true),
15 is_cellular(false) {
18 NetworkIconInfo::~NetworkIconInfo() {
21 BluetoothDeviceInfo::BluetoothDeviceInfo()
22 : connected(false),
23 connecting(false),
24 paired(false) {
27 BluetoothDeviceInfo::~BluetoothDeviceInfo() {
30 DriveOperationStatus::DriveOperationStatus()
31 : id(-1),
32 progress(0.0),
33 type(OPERATION_DOWNLOAD),
34 state(OPERATION_NOT_STARTED) {
37 DriveOperationStatus::~DriveOperationStatus() {
40 IMEInfo::IMEInfo()
41 : selected(false),
42 third_party(false) {
45 IMEInfo::~IMEInfo() {
48 IMEPropertyInfo::IMEPropertyInfo()
49 : selected(false) {
52 IMEPropertyInfo::~IMEPropertyInfo() {
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;
62 } // namespace ash