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

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: 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE; 82 scoped_ptr<VolumeControlDelegate> delegate) OVERRIDE;
83 virtual bool GetSessionStartTime( 83 virtual bool GetSessionStartTime(
84 base::TimeTicks* session_start_time) OVERRIDE; 84 base::TimeTicks* session_start_time) OVERRIDE;
85 virtual bool GetSessionLengthLimit( 85 virtual bool GetSessionLengthLimit(
86 base::TimeDelta* session_length_limit) OVERRIDE; 86 base::TimeDelta* session_length_limit) OVERRIDE;
87 virtual int GetSystemTrayMenuWidth() OVERRIDE; 87 virtual int GetSystemTrayMenuWidth() OVERRIDE;
88 virtual void ActiveUserWasChanged() OVERRIDE; 88 virtual void ActiveUserWasChanged() OVERRIDE;
89 virtual bool IsSearchKeyMappedToCapsLock() OVERRIDE; 89 virtual bool IsSearchKeyMappedToCapsLock() OVERRIDE;
90 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( 90 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
91 const std::string& user_id) OVERRIDE; 91 const std::string& user_id) OVERRIDE;
92 virtual void AddCustodianInfoChangedCallback(
93 const base::Closure& callback) OVERRIDE;
Daniel Erat 2014/10/03 16:02:09 not having any way to remove the callback seems st
merkulova 2014/10/06 15:37:25 Switched to observer. Is it what you mean? No rem
92 94
93 private: 95 private:
94 bool bluetooth_enabled_; 96 bool bluetooth_enabled_;
95 scoped_ptr<VolumeControlDelegate> volume_control_delegate_; 97 scoped_ptr<VolumeControlDelegate> volume_control_delegate_;
96 98
97 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate); 99 DISALLOW_COPY_AND_ASSIGN(DefaultSystemTrayDelegate);
98 }; 100 };
99 101
100 } // namespace ash 102 } // namespace ash
101 103
102 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_ 104 #endif // ASH_SYSTEM_TRAY_DEFAULT_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698