| OLD | NEW |
| 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/system/tray/test_system_tray_delegate.h" | 5 #include "ash/system/tray/test_system_tray_delegate.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
| 9 #include "ash/volume_control_delegate.h" | 9 #include "ash/volume_control_delegate.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 void TestSystemTrayDelegate::ShowDriveSettings() { | 125 void TestSystemTrayDelegate::ShowDriveSettings() { |
| 126 } | 126 } |
| 127 | 127 |
| 128 void TestSystemTrayDelegate::ShowIMESettings() { | 128 void TestSystemTrayDelegate::ShowIMESettings() { |
| 129 } | 129 } |
| 130 | 130 |
| 131 void TestSystemTrayDelegate::ShowHelp() { | 131 void TestSystemTrayDelegate::ShowHelp() { |
| 132 } | 132 } |
| 133 | 133 |
| 134 void TestSystemTrayDelegate::ShowAccessibilityHelp() { |
| 135 } |
| 136 |
| 134 void TestSystemTrayDelegate::ShutDown() { | 137 void TestSystemTrayDelegate::ShutDown() { |
| 135 MessageLoop::current()->Quit(); | 138 MessageLoop::current()->Quit(); |
| 136 } | 139 } |
| 137 | 140 |
| 138 void TestSystemTrayDelegate::SignOut() { | 141 void TestSystemTrayDelegate::SignOut() { |
| 139 MessageLoop::current()->Quit(); | 142 MessageLoop::current()->Quit(); |
| 140 } | 143 } |
| 141 | 144 |
| 142 void TestSystemTrayDelegate::RequestLockScreen() { | 145 void TestSystemTrayDelegate::RequestLockScreen() { |
| 143 } | 146 } |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 return volume_control_delegate_.get(); | 289 return volume_control_delegate_.get(); |
| 287 } | 290 } |
| 288 | 291 |
| 289 void TestSystemTrayDelegate::SetVolumeControlDelegate( | 292 void TestSystemTrayDelegate::SetVolumeControlDelegate( |
| 290 scoped_ptr<VolumeControlDelegate> delegate) { | 293 scoped_ptr<VolumeControlDelegate> delegate) { |
| 291 volume_control_delegate_ = delegate.Pass(); | 294 volume_control_delegate_ = delegate.Pass(); |
| 292 } | 295 } |
| 293 | 296 |
| 294 } // namespace test | 297 } // namespace test |
| 295 } // namespace ash | 298 } // namespace ash |
| OLD | NEW |