#include "ui/events/keycodes/keyboard_code_conversion.h"
#include <stdint.h>
#include "base/strings/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/events/keycodes/dom_us_layout_data.h"
#include "ui/events/keycodes/keyboard_codes.h"
namespace {
struct Meaning { … };
const Meaning kUndefined = …;
void CheckDomCodeToMeaning(const char* label,
bool f(ui::DomCode dom_code,
int flags,
ui::DomKey* out_dom_key,
ui::KeyboardCode* out_key_code),
ui::DomCode dom_code,
int event_flags,
const Meaning& result) { … }
TEST(KeyboardCodeConversion, ControlCharacters) { … }
TEST(KeyboardCodeConversion, UsLayout) { … }
TEST(KeyboardCodeConversion, Tables) { … }
}