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

Unified Diff: components/exo/keyboard_device_configuration_delegate.h

Issue 2506263002: exo: Implement support for zcr_keyboard_configuration_v1 protocol. (Closed)
Patch Set: exo: Implement support for zcr_keyboard_configuration_v1 protocol. 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 side-by-side diff with in-line comments
Download patch
Index: components/exo/keyboard_device_configuration_delegate.h
diff --git a/components/exo/keyboard_device_configuration_delegate.h b/components/exo/keyboard_device_configuration_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..aa80e4c8697063079ad4a5b8d870f9efdd83c9fd
--- /dev/null
+++ b/components/exo/keyboard_device_configuration_delegate.h
@@ -0,0 +1,22 @@
+// Copyright 2016 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_DEVICE_CONFIGURATION_H_
+#define COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_
+
+namespace exo {
+
+// Used as an extension to the KeyboardDelegate.
+class KeyboardDeviceConfigurationDelegate {
+ public:
+ // Called when used keyboard type changed.
+ virtual void OnKeyboardTypeChanged(bool is_physical) = 0;
+
+ protected:
+ virtual ~KeyboardDeviceConfigurationDelegate() {}
+};
+
+} // namespace exo
+
+#endif // COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_

Powered by Google App Engine
This is Rietveld 408576698