blob: 8df4018fb9e544d82b98630ca8c1abe691e4f026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_SESSION_STATE_OBSERVER_H_
#define ASH_WM_SESSION_STATE_OBSERVER_H_
#include "ash/ash_export.h"
namespace ash {
// Interface for classes that want to be notified by SessionStateController when
// session-related events occur.
class ASH_EXPORT SessionStateObserver {
public:
enum EventType {
EVENT_PRELOCK_ANIMATION_STARTED,
EVENT_LOCK_ANIMATION_STARTED,
EVENT_LOCK_ANIMATION_FINISHED,
};
virtual void OnSessionStateEvent(EventType event) = 0;
virtual ~SessionStateObserver() {};
};
} // namespace ash
#endif // ASH_WM_SESSION_STATE_CONTROLLER_H_
|