// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/keycodes/keyboard_code_conversion_xkb.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" #include "ui/events/keycodes/dom/dom_key.h" #include "ui/events/keycodes/keyboard_code_conversion_xkb.h" #include "ui/gfx/x/keysyms/keysyms.h" namespace ui { // We support dead keys beyond those with predefined keysym names, // expressed as numeric constants with |kDeadKeyFlag| set. // Xkbcommon accepts and does not use any bits in 0x0E000000. // constexpr xkb_keysym_t kDeadKeyFlag = …; constexpr int32_t kUnicodeMax = …; DomKey NonPrintableXKeySymToDomKey(xkb_keysym_t keysym) { … } DomKey XKeySymToDomKey(xkb_keysym_t keysym, char16_t character) { … } } // namespace ui