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

Side by Side Diff: components/exo/keyboard_device_configuration_delegate.h

Issue 2506263002: exo: Implement support for zcr_keyboard_configuration_v1 protocol. (Closed)
Patch Set: add one more TODO Created 4 years 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 | « components/exo/keyboard_delegate.h ('k') | components/exo/wayland/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_
6 #define COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_
7
8 namespace exo {
9 class Keyboard;
10
11 // Used as an extension to the KeyboardDelegate.
12 class KeyboardDeviceConfigurationDelegate {
13 public:
14 // Called at the top of the keyboard's destructor, to give observers a chance
15 // to remove themselves.
16 virtual void OnKeyboardDestroying(Keyboard* keyboard) = 0;
17
18 // Called when used keyboard type changed.
19 virtual void OnKeyboardTypeChanged(bool is_physical) = 0;
20
21 protected:
22 virtual ~KeyboardDeviceConfigurationDelegate() {}
23 };
24
25 } // namespace exo
26
27 #endif // COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_
OLDNEW
« no previous file with comments | « components/exo/keyboard_delegate.h ('k') | components/exo/wayland/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698