1d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved.
2d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)// found in the LICENSE file.
4d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
5d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include "ash/system/tray/default_system_tray_delegate.h"
6d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
7d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include <string>
8d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
95c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu#include "ash/session/session_state_delegate.h"
10d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include "ash/shell.h"
11d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include "ash/volume_control_delegate.h"
12d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include "base/message_loop/message_loop.h"
13d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)#include "base/time/time.h"
14d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
15d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)namespace ash {
16d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
17d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)namespace {
18d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
19d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)class DefaultVolumnControlDelegate : public VolumeControlDelegate {
20d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles) public:
21d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  DefaultVolumnControlDelegate() {}
22d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  virtual ~DefaultVolumnControlDelegate() {}
23d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
24d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) OVERRIDE {
25d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    return true;
26d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  }
27d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) OVERRIDE {
28d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    return true;
29d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  }
30d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) OVERRIDE {
31d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    return true;
32d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  }
33d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
34d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles) private:
35d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  DISALLOW_COPY_AND_ASSIGN(DefaultVolumnControlDelegate);
36d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)};
37d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
38d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}  // namespace
39d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
40d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)DefaultSystemTrayDelegate::DefaultSystemTrayDelegate()
41d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    : bluetooth_enabled_(true),
42d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)      volume_control_delegate_(new DefaultVolumnControlDelegate) {
43d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
44d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
45d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)DefaultSystemTrayDelegate::~DefaultSystemTrayDelegate() {
46d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
47d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
48d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::Initialize() {
49d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
50d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
51d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::Shutdown() {
52d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
53d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
54d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::GetTrayVisibilityOnStartup() {
55d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return true;
56d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
57d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
58d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)user::LoginStatus DefaultSystemTrayDelegate::GetUserLoginStatus() const {
59d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return user::LOGGED_IN_USER;
60d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
61d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
62d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ChangeProfilePicture() {
63d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
64d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
65d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)const std::string DefaultSystemTrayDelegate::GetEnterpriseDomain() const {
66d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return std::string();
67d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
68d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
69d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)const base::string16 DefaultSystemTrayDelegate::GetEnterpriseMessage() const {
705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return base::string16();
71d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
72d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
73d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)const std::string
745f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)DefaultSystemTrayDelegate::GetSupervisedUserManager() const {
75d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return std::string();
76d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
77d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
78d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)const base::string16
795f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)DefaultSystemTrayDelegate::GetSupervisedUserManagerName()
80d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const {
815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return base::string16();
82d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
83d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
845f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)const base::string16 DefaultSystemTrayDelegate::GetSupervisedUserMessage()
85d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const {
865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return base::string16();
87d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
88d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
891320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tuccibool DefaultSystemTrayDelegate::IsUserSupervised() const {
901320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci  return false;
911320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci}
921320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci
93d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::SystemShouldUpgrade() const {
94d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return true;
95d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
96d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
97d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)base::HourClockType DefaultSystemTrayDelegate::GetHourClockType() const {
98d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return base::k24HourClock;
99d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
100d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
101d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowSettings() {
102d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
103d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
104d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::ShouldShowSettings() {
105d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return true;
106d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
107d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
108d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowDateSettings() {
109d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
110d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
1115c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liuvoid DefaultSystemTrayDelegate::ShowSetTimeDialog() {
1125c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu}
1135c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu
114d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowNetworkSettings(
115d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const std::string& service_path) {
116d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
117d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
118d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowBluetoothSettings() {
119d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
120d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
121d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowDisplaySettings() {
122d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
123d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
124d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowChromeSlow() {
125d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
126d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
127d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::ShouldShowDisplayNotification() {
128d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return false;
129d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
130d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
131d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowIMESettings() {
132d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
133d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
134d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowHelp() {
135d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
136d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
137d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowAccessibilityHelp() {
138d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
139d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
140d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowAccessibilitySettings() {
141d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
142d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
143d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowPublicAccountInfo() {
144d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
145d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
146d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowEnterpriseInfo() {
147d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
148d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
1495f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowSupervisedUserInfo() {
150d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
151d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
152d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowUserLogin() {
153d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
154d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
1555d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool DefaultSystemTrayDelegate::ShowSpringChargerReplacementDialog() {
1565d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return false;
1575d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}
1585d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
1595d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool DefaultSystemTrayDelegate::IsSpringChargerReplacementDialogVisible() {
1605d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return false;
1615d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}
1625d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
1635d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)bool DefaultSystemTrayDelegate::HasUserConfirmedSafeSpringCharger() {
1645d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)  return false;
1655d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}
1665d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
167d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShutDown() {
168d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
169d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
170d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::SignOut() {
171d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
172d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
173d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::RequestLockScreen() {
174d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
175d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
176d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::RequestRestartForUpdate() {
177d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
178d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
179d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::GetAvailableBluetoothDevices(
180d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    BluetoothDeviceList* list) {
181d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
182d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
183d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::BluetoothStartDiscovering() {
184d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
185d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
186d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::BluetoothStopDiscovering() {
187d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
188d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
189d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ConnectToBluetoothDevice(
190d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const std::string& address) {
191d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
192d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
193d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::GetCurrentIME(IMEInfo* info) {
194d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
195d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
196d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {
197d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
198d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
199d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::GetCurrentIMEProperties(
200d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    IMEPropertyInfoList* list) {
201d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
202d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
203d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::SwitchIME(const std::string& ime_id) {
204d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
205d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
206d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ActivateIMEProperty(const std::string& key) {
207d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
208d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
2094e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowNetworkConfigure(
2101320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci    const std::string& network_id) {
211d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
212d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
2131320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tuccibool DefaultSystemTrayDelegate::EnrollNetwork(const std::string& network_id) {
2144e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)  return true;
2154e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)}
2164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)
217d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ManageBluetoothDevices() {
218d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
219d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
220d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ToggleBluetooth() {
221d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  bluetooth_enabled_ = !bluetooth_enabled_;
222d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
223d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
224d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::IsBluetoothDiscovering() {
225d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return false;
226d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
227d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
228d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowMobileSimDialog() {
229d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
230d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
231d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowMobileSetupDialog(
232d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const std::string& service_path) {
233d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
234d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
2354e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)void DefaultSystemTrayDelegate::ShowOtherNetworkDialog(
2364e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)    const std::string& type) {
237d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
238d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
239d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::GetBluetoothAvailable() {
240d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return true;
241d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
242d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
243d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::GetBluetoothEnabled() {
244d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return bluetooth_enabled_;
245d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
246d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
247e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochbool DefaultSystemTrayDelegate::GetBluetoothDiscovering() {
248e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  return false;
249e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}
250e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
251d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::ChangeProxySettings() {
252d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
253d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
254d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)VolumeControlDelegate* DefaultSystemTrayDelegate::GetVolumeControlDelegate()
255d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    const {
256d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return volume_control_delegate_.get();
257d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
258d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
259d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)void DefaultSystemTrayDelegate::SetVolumeControlDelegate(
260d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    scoped_ptr<VolumeControlDelegate> delegate) {
261d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  volume_control_delegate_ = delegate.Pass();
262d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
263d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
264d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::GetSessionStartTime(
265d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)    base::TimeTicks* session_start_time) {
266d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return false;
267d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
268d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
269d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)bool DefaultSystemTrayDelegate::GetSessionLengthLimit(
270d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)     base::TimeDelta* session_length_limit) {
271d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return false;
272d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
273d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
274d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() {
275d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  // This is the default width for English languages.
276d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)  return 300;
277d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}
278d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)
2795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)void DefaultSystemTrayDelegate::ActiveUserWasChanged() {
2805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}
2815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
282a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)bool DefaultSystemTrayDelegate::IsSearchKeyMappedToCapsLock() {
283a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)  return false;
284a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)}
285a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)
286a02191e04bc25c4935f804f2c080ae28663d096dBen Murdochtray::UserAccountsDelegate* DefaultSystemTrayDelegate::GetUserAccountsDelegate(
287a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch    const std::string& user_id) {
288a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch  return NULL;
289a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch}
290a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch
291d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles)}  // namespace ash
292