keyboard_layout_util.h 667 B

1234567891011121314151617181920
  1. // Copyright 2017 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 UI_CHROMEOS_EVENTS_KEYBOARD_LAYOUT_UTIL_H_
  5. #define UI_CHROMEOS_EVENTS_KEYBOARD_LAYOUT_UTIL_H_
  6. namespace ui {
  7. // Returns true if the device is currently connected to any keyboard (internal
  8. // or external) that is using the 2017 keyboard layout.
  9. bool DeviceUsesKeyboardLayout2();
  10. // Returns true if one of the keyboards currently connected to the device has
  11. // an Assistant key.
  12. bool DeviceKeyboardHasAssistantKey();
  13. } // namespace ui
  14. #endif // UI_CHROMEOS_EVENTS_KEYBOARD_LAYOUT_UTIL_H_