#ifndef CHROME_COMMON_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_H__
#define CHROME_COMMON_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace braille_display_private {
enum class KeyCommand { … };
const char* ToString(KeyCommand as_enum);
KeyCommand ParseKeyCommand(std::string_view as_string);
std::u16string GetKeyCommandParseError(std::string_view as_string);
struct KeyEvent { … };
struct DisplayState { … };
namespace GetDisplayState {
namespace Results {
base::Value::List Create(const DisplayState& result);
}
}
namespace WriteDots {
struct Params { … };
}
namespace UpdateBluetoothBrailleDisplayAddress {
struct Params { … };
}
namespace OnDisplayStateChanged {
extern const char kEventName[];
base::Value::List Create(const DisplayState& state);
}
namespace OnKeyEvent {
extern const char kEventName[];
base::Value::List Create(const KeyEvent& event);
}
}
}
}
#endif