Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: ash/system/tray/test_system_tray_delegate.h

Issue 11568036: Add countdown when session time is limited (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | ash/system/tray/test_system_tray_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.cc ('k') | ash/system/tray/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698