blob: 1264132dac2eff38950326f8e67c9f2e6c115ef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2017 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 COMPONENTS_EXO_KEYBOARD_OBSERVER_H_
#define COMPONENTS_EXO_KEYBOARD_OBSERVER_H_
namespace exo {
class Keyboard;
// Observers to the Keyboard are notified when the Keyboard destructs.
class KeyboardObserver {
public:
virtual ~KeyboardObserver() {}
// Called at the top of the keyboard's destructor, to give observers a change
// to remove themselves.
virtual void OnKeyboardDestroying(Keyboard* keyboard) = 0;
};
} // namespace exo
#endif // COMPONENTS_EXO_KEYBOARD_OBSERVER_H_
|