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

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

Issue 627593003: Adding infrastructure for possibility of changing manager names for the supervised accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Default system tray extended for proper tests support. Created 6 years, 2 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray/system_tray_delegate.h" 9 #include "ash/system/tray/system_tray_delegate.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 scoped_ptr<VolumeControlDelegate> delegate) override; 81 scoped_ptr<VolumeControlDelegate> delegate) override;
82 virtual bool GetSessionStartTime( 82 virtual bool GetSessionStartTime(
83 base::TimeTicks* session_start_time) override; 83 base::TimeTicks* session_start_time) override;
84 virtual bool GetSessionLengthLimit( 84 virtual bool GetSessionLengthLimit(
85 base::TimeDelta* session_length_limit) override; 85 base::TimeDelta* session_length_limit) override;
86 virtual int GetSystemTrayMenuWidth() override; 86 virtual int GetSystemTrayMenuWidth() override;
87 virtual void ActiveUserWasChanged() override; 87 virtual void ActiveUserWasChanged() override;
88 virtual bool IsSearchKeyMappedToCapsLock() override; 88 virtual bool IsSearchKeyMappedToCapsLock() override;
89 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( 89 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
90 const std::string& user_id) override; 90 const std::string& user_id) override;
91 virtual void AddCustodianInfoTrayObserver(
92 CustodianInfoTrayObserver* observer) override;
93 virtual void RemoveCustodianInfoTrayObserver(
94 CustodianInfoTrayObserver* observer) override;
91 95
92 private: 96 private:
93 bool bluetooth_enabled_; 97 bool bluetooth_enabled_;
94 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; 98 scoped_ptr<VolumeControlDelegate> volume_control_delegate_;
95 99
96 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); 100 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate);
97 }; 101 };
98 102
99 } // namespace ash 103 } // namespace ash
100 104
101 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 105 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/supervised/tray_supervised_user.cc ('k') | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698