#ifndef EXTENSIONS_COMMON_API_VIRTUAL_KEYBOARD_PRIVATE_H__
#define EXTENSIONS_COMMON_API_VIRTUAL_KEYBOARD_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 virtual_keyboard_private {
enum class VirtualKeyboardEventType { … };
const char* ToString(VirtualKeyboardEventType as_enum);
VirtualKeyboardEventType ParseVirtualKeyboardEventType(std::string_view as_string);
std::u16string GetVirtualKeyboardEventTypeParseError(std::string_view as_string);
struct VirtualKeyboardEvent { … };
enum class KeyboardMode { … };
const char* ToString(KeyboardMode as_enum);
KeyboardMode ParseKeyboardMode(std::string_view as_string);
std::u16string GetKeyboardModeParseError(std::string_view as_string);
enum class KeyboardState { … };
const char* ToString(KeyboardState as_enum);
KeyboardState ParseKeyboardState(std::string_view as_string);
std::u16string GetKeyboardStateParseError(std::string_view as_string);
struct Bounds { … };
struct KeyboardConfig { … };
struct ContainerBehaviorOptions { … };
enum class DisplayFormat { … };
const char* ToString(DisplayFormat as_enum);
DisplayFormat ParseDisplayFormat(std::string_view as_string);
std::u16string GetDisplayFormatParseError(std::string_view as_string);
struct ClipboardItem { … };
namespace InsertText {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace SendKeyEvent {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace HideKeyboard {
namespace Results {
base::Value::List Create();
}
}
namespace SetHotrodKeyboard {
struct Params { … };
}
namespace LockKeyboard {
struct Params { … };
}
namespace KeyboardLoaded {
namespace Results {
base::Value::List Create();
}
}
namespace GetKeyboardConfig {
namespace Results {
base::Value::List Create(const KeyboardConfig& config);
}
}
namespace OpenSettings {
}
namespace OpenSuggestionSettings {
}
namespace SetContainerBehavior {
struct Params { … };
namespace Results {
base::Value::List Create(bool success);
}
}
namespace SetDraggableArea {
struct Params { … };
}
namespace SetKeyboardState {
struct Params { … };
}
namespace SetOccludedBounds {
struct Params { … };
}
namespace SetHitTestBounds {
struct Params { … };
}
namespace SetAreaToRemainOnScreen {
struct Params { … };
}
namespace SetWindowBoundsInScreen {
struct Params { … };
}
namespace GetClipboardHistory {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<ClipboardItem>& clipboard_history);
}
}
namespace PasteClipboardItem {
struct Params { … };
}
namespace DeleteClipboardItem {
struct Params { … };
}
namespace OnBoundsChanged {
extern const char kEventName[];
base::Value::List Create(const Bounds& bounds);
}
namespace OnKeyboardClosed {
extern const char kEventName[];
base::Value::List Create();
}
namespace OnKeyboardConfigChanged {
extern const char kEventName[];
base::Value::List Create(const KeyboardConfig& config);
}
namespace OnClipboardHistoryChanged {
extern const char kEventName[];
base::Value::List Create(const std::vector<std::string>& item_ids);
}
namespace OnClipboardItemUpdated {
extern const char kEventName[];
base::Value::List Create(const ClipboardItem& clipboard_history_item);
}
namespace OnColorProviderChanged {
extern const char kEventName[];
base::Value::List Create();
}
}
}
}
#endif