| 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 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/system/tray/system_tray_delegate.h" | 8 #include "ash/system/tray/system_tray_delegate.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual bool GetBluetoothEnabled() OVERRIDE; | 87 virtual bool GetBluetoothEnabled() OVERRIDE; |
| 88 virtual bool GetMobileScanSupported() OVERRIDE; | 88 virtual bool GetMobileScanSupported() OVERRIDE; |
| 89 virtual bool GetCellularCarrierInfo(std::string* carrier_id, | 89 virtual bool GetCellularCarrierInfo(std::string* carrier_id, |
| 90 std::string* topup_url, | 90 std::string* topup_url, |
| 91 std::string* setup_url) OVERRIDE; | 91 std::string* setup_url) OVERRIDE; |
| 92 virtual void ShowCellularURL(const std::string& url) OVERRIDE; | 92 virtual void ShowCellularURL(const std::string& url) OVERRIDE; |
| 93 virtual void ChangeProxySettings() OVERRIDE; | 93 virtual void ChangeProxySettings() OVERRIDE; |
| 94 virtual VolumeControlDelegate* GetVolumeControlDelegate() const OVERRIDE; | 94 virtual VolumeControlDelegate* GetVolumeControlDelegate() const OVERRIDE; |
| 95 virtual void SetVolumeControlDelegate( | 95 virtual void SetVolumeControlDelegate( |
| 96 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; | 96 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; |
| 97 virtual base::Time GetSessionStartTime() OVERRIDE; |
| 98 virtual base::TimeDelta GetSessionLengthLimit() OVERRIDE; |
| 97 | 99 |
| 98 private: | 100 private: |
| 99 bool wifi_enabled_; | 101 bool wifi_enabled_; |
| 100 bool cellular_enabled_; | 102 bool cellular_enabled_; |
| 101 bool bluetooth_enabled_; | 103 bool bluetooth_enabled_; |
| 102 bool caps_lock_enabled_; | 104 bool caps_lock_enabled_; |
| 103 gfx::ImageSkia null_image_; | 105 gfx::ImageSkia null_image_; |
| 104 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; | 106 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; |
| 105 | 107 |
| 106 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); | 108 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 } // namespace test | 111 } // namespace test |
| 110 } // namespace ash | 112 } // namespace ash |
| 111 | 113 |
| 112 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ | 114 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |