keyboard_device_configuration_delegate.h 679 B

12345678910111213141516171819202122
  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. #ifndef COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_DELEGATE_H_
  5. #define COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_DELEGATE_H_
  6. namespace exo {
  7. // Used as an extension to the KeyboardDelegate.
  8. class KeyboardDeviceConfigurationDelegate {
  9. public:
  10. // Called when used keyboard type changed.
  11. virtual void OnKeyboardTypeChanged(bool is_physical) = 0;
  12. protected:
  13. virtual ~KeyboardDeviceConfigurationDelegate() {}
  14. };
  15. } // namespace exo
  16. #endif // COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_DELEGATE_H_