Revert r196939 "Add Widevine CDM component installer."
[chromium-blink-merge.git] / ash / shell_observer.h
blob0bdd93472a943bce1ebd7219c301f8b0cf1091ea
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
3 // found in the LICENSE file.
5 #ifndef ASH_SHELL_OBSERVER_H_
6 #define ASH_SHELL_OBSERVER_H_
8 #include "ash/ash_export.h"
9 #include "ash/system/user/login_status.h"
11 namespace aura {
12 class RootWindow;
15 namespace ash {
17 class ASH_EXPORT ShellObserver {
18 public:
19 // Invoked after the screen's work area insets changes.
20 virtual void OnDisplayWorkAreaInsetsChanged() {}
22 // Invoked when the user logs in.
23 virtual void OnLoginStateChanged(user::LoginStatus status) {}
25 // Invoked when the application is exiting.
26 virtual void OnAppTerminating() {}
28 // Invoked when the screen is locked (after the lock window is visible) or
29 // unlocked.
30 virtual void OnLockStateChanged(bool locked) {}
32 // Invoked when the shelf alignment in |root_window| is changed.
33 virtual void OnShelfAlignmentChanged(aura::RootWindow* root_window) {}
35 protected:
36 virtual ~ShellObserver() {}
39 } // namespace ash
41 #endif // ASH_SHELL_OBSERVER_H_