#include <cstdint>
#include <string>
#include "base/check_op.h"
#include "base/containers/flat_map.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/events/keycodes/dom/dom_keyboard_layout_map_base.h"
#include "ui/events/ozone/layout/keyboard_layout_engine.h"
#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
namespace ui {
namespace {
class DomKeyboardLayoutMapOzone : public DomKeyboardLayoutMapBase { … };
DomKeyboardLayoutMapOzone::DomKeyboardLayoutMapOzone() = default;
DomKeyboardLayoutMapOzone::~DomKeyboardLayoutMapOzone() = default;
uint32_t DomKeyboardLayoutMapOzone::GetKeyboardLayoutCount() { … }
ui::DomKey DomKeyboardLayoutMapOzone::GetDomKeyFromDomCodeForLayout(
ui::DomCode dom_code,
uint32_t keyboard_layout_index) { … }
}
base::flat_map<std::string, std::string> GenerateDomKeyboardLayoutMap() { … }
}