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

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

Issue 40053002: Implements the dialog view for logout button tray in public sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add preference for dialog duration Created 7 years, 1 month 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 (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_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void NotifyTracingModeChanged(bool value); 96 void NotifyTracingModeChanged(bool value);
97 void NotifyRefreshBluetooth(); 97 void NotifyRefreshBluetooth();
98 void NotifyBluetoothDiscoveringChanged(); 98 void NotifyBluetoothDiscoveringChanged();
99 void NotifyCapsLockChanged(bool enabled, bool search_mapped_to_caps_lock); 99 void NotifyCapsLockChanged(bool enabled, bool search_mapped_to_caps_lock);
100 void NotifyRefreshClock(); 100 void NotifyRefreshClock();
101 void NotifyDateFormatChanged(); 101 void NotifyDateFormatChanged();
102 void NotifySystemClockTimeUpdated(); 102 void NotifySystemClockTimeUpdated();
103 void NotifyDriveJobUpdated(const DriveOperationStatus& status); 103 void NotifyDriveJobUpdated(const DriveOperationStatus& status);
104 void NotifyRefreshIME(bool show_message); 104 void NotifyRefreshIME(bool show_message);
105 void NotifyShowLoginButtonChanged(bool show_login_button); 105 void NotifyShowLoginButtonChanged(bool show_login_button);
106 void NotifyLogoutDialogDurationChanged(int duration);
106 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate, 107 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate,
107 const std::string& cur_locale, 108 const std::string& cur_locale,
108 const std::string& from_locale, 109 const std::string& from_locale,
109 const std::string& to_locale); 110 const std::string& to_locale);
110 void NotifySessionStartTimeChanged(); 111 void NotifySessionStartTimeChanged();
111 void NotifySessionLengthLimitChanged(); 112 void NotifySessionLengthLimitChanged();
112 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity); 113 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity);
113 void NotifyUserUpdate(); 114 void NotifyUserUpdate();
114 void NotifyUserAddedToSession(); 115 void NotifyUserAddedToSession();
115 #if defined(OS_CHROMEOS) 116 #if defined(OS_CHROMEOS)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 ObserverList<ScreenShareObserver> screen_share_observers_; 148 ObserverList<ScreenShareObserver> screen_share_observers_;
148 scoped_ptr<NetworkStateNotifier> network_state_notifier_; 149 scoped_ptr<NetworkStateNotifier> network_state_notifier_;
149 #endif 150 #endif
150 151
151 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier); 152 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier);
152 }; 153 };
153 154
154 } // namespace ash 155 } // namespace ash
155 156
156 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ 157 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698