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

Side by Side Diff: ash/shell.h

Issue 2741403004: mash: Update LoginStatus with session state updates (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/mus/system_tray_delegate_mus.cc ('k') | no next file » | 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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Creates a default views::NonClientFrameView for use by windows in the 233 // Creates a default views::NonClientFrameView for use by windows in the
234 // Ash environment. 234 // Ash environment.
235 views::NonClientFrameView* CreateDefaultNonClientFrameView( 235 views::NonClientFrameView* CreateDefaultNonClientFrameView(
236 views::Widget* widget); 236 views::Widget* widget);
237 237
238 // Sets work area insets of the display containing |window|, pings observers. 238 // Sets work area insets of the display containing |window|, pings observers.
239 void SetDisplayWorkAreaInsets(aura::Window* window, 239 void SetDisplayWorkAreaInsets(aura::Window* window,
240 const gfx::Insets& insets); 240 const gfx::Insets& insets);
241 241
242 // Called when the user logs in. 242 // Called when the user logs in.
243 // TODO(jamescook): Merge this with WmShell::UpdateAfterLoginStatusChange()?
243 void OnLoginStateChanged(LoginStatus status); 244 void OnLoginStateChanged(LoginStatus status);
244 245
245 // Called when the application is exiting. 246 // Called when the application is exiting.
246 void OnAppTerminating(); 247 void OnAppTerminating();
247 248
248 // Called when the screen is locked (after the lock window is visible) or 249 // Called when the screen is locked (after the lock window is visible) or
249 // unlocked. 250 // unlocked.
250 void OnLockStateChanged(bool locked); 251 void OnLockStateChanged(bool locked);
251 252
252 // Called when a casting session is started or stopped. 253 // Called when a casting session is started or stopped.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 base::ObserverList<ShellObserver> shell_observers_; 672 base::ObserverList<ShellObserver> shell_observers_;
672 673
673 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 674 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
674 675
675 DISALLOW_COPY_AND_ASSIGN(Shell); 676 DISALLOW_COPY_AND_ASSIGN(Shell);
676 }; 677 };
677 678
678 } // namespace ash 679 } // namespace ash
679 680
680 #endif // ASH_SHELL_H_ 681 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/mus/system_tray_delegate_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698