chromium/out/Default/gen/extensions/common/api/virtual_keyboard_private.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// GENERATED FROM THE API DEFINITION IN
//   extensions/common/api/virtual_keyboard_private.json
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "extensions/common/api/virtual_keyboard_private.h"

#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "tools/json_schema_compiler/util.h"
#include <string_view>


UTF8ToUTF16;

namespace extensions {
namespace api {
namespace virtual_keyboard_private {
//
// Types
//

const char* ToString(VirtualKeyboardEventType enum_param) {}

VirtualKeyboardEventType ParseVirtualKeyboardEventType(std::string_view enum_string) {}

std::u16string GetVirtualKeyboardEventTypeParseError(std::string_view enum_string) {}


VirtualKeyboardEvent::VirtualKeyboardEvent()
:{}

VirtualKeyboardEvent::~VirtualKeyboardEvent() = default;
VirtualKeyboardEvent::VirtualKeyboardEvent(VirtualKeyboardEvent&& rhs) noexcept = default;
VirtualKeyboardEvent& VirtualKeyboardEvent::operator=(VirtualKeyboardEvent&& rhs) noexcept = default;
VirtualKeyboardEvent VirtualKeyboardEvent::Clone() const {}

// static
bool VirtualKeyboardEvent::Populate(
    const base::Value::Dict& dict, VirtualKeyboardEvent& out) {}

// static
bool VirtualKeyboardEvent::Populate(
    const base::Value& value, VirtualKeyboardEvent& out) {}

// static
std::optional<VirtualKeyboardEvent> VirtualKeyboardEvent::FromValue(const base::Value::Dict& value) {}

// static
std::optional<VirtualKeyboardEvent> VirtualKeyboardEvent::FromValue(const base::Value& value) {}

base::Value::Dict VirtualKeyboardEvent::ToValue() const {}


const char* ToString(KeyboardMode enum_param) {}

KeyboardMode ParseKeyboardMode(std::string_view enum_string) {}

std::u16string GetKeyboardModeParseError(std::string_view enum_string) {}


const char* ToString(KeyboardState enum_param) {}

KeyboardState ParseKeyboardState(std::string_view enum_string) {}

std::u16string GetKeyboardStateParseError(std::string_view enum_string) {}


Bounds::Bounds()
:{}

Bounds::~Bounds() = default;
Bounds::Bounds(Bounds&& rhs) noexcept = default;
Bounds& Bounds::operator=(Bounds&& rhs) noexcept = default;
Bounds Bounds::Clone() const {}

// static
bool Bounds::Populate(
    const base::Value::Dict& dict, Bounds& out) {}

// static
bool Bounds::Populate(
    const base::Value& value, Bounds& out) {}

// static
std::optional<Bounds> Bounds::FromValue(const base::Value::Dict& value) {}

// static
std::optional<Bounds> Bounds::FromValue(const base::Value& value) {}

base::Value::Dict Bounds::ToValue() const {}


KeyboardConfig::KeyboardConfig()
:{}

KeyboardConfig::~KeyboardConfig() = default;
KeyboardConfig::KeyboardConfig(KeyboardConfig&& rhs) noexcept = default;
KeyboardConfig& KeyboardConfig::operator=(KeyboardConfig&& rhs) noexcept = default;
KeyboardConfig KeyboardConfig::Clone() const {}

// static
bool KeyboardConfig::Populate(
    const base::Value::Dict& dict, KeyboardConfig& out) {}

// static
bool KeyboardConfig::Populate(
    const base::Value& value, KeyboardConfig& out) {}

// static
std::optional<KeyboardConfig> KeyboardConfig::FromValue(const base::Value::Dict& value) {}

// static
std::optional<KeyboardConfig> KeyboardConfig::FromValue(const base::Value& value) {}

base::Value::Dict KeyboardConfig::ToValue() const {}


ContainerBehaviorOptions::ContainerBehaviorOptions()
:{}

ContainerBehaviorOptions::~ContainerBehaviorOptions() = default;
ContainerBehaviorOptions::ContainerBehaviorOptions(ContainerBehaviorOptions&& rhs) noexcept = default;
ContainerBehaviorOptions& ContainerBehaviorOptions::operator=(ContainerBehaviorOptions&& rhs) noexcept = default;
ContainerBehaviorOptions ContainerBehaviorOptions::Clone() const {}

// static
bool ContainerBehaviorOptions::Populate(
    const base::Value::Dict& dict, ContainerBehaviorOptions& out) {}

// static
bool ContainerBehaviorOptions::Populate(
    const base::Value& value, ContainerBehaviorOptions& out) {}

// static
std::optional<ContainerBehaviorOptions> ContainerBehaviorOptions::FromValue(const base::Value::Dict& value) {}

// static
std::optional<ContainerBehaviorOptions> ContainerBehaviorOptions::FromValue(const base::Value& value) {}

base::Value::Dict ContainerBehaviorOptions::ToValue() const {}


const char* ToString(DisplayFormat enum_param) {}

DisplayFormat ParseDisplayFormat(std::string_view enum_string) {}

std::u16string GetDisplayFormatParseError(std::string_view enum_string) {}


ClipboardItem::ClipboardItem()
:{}

ClipboardItem::~ClipboardItem() = default;
ClipboardItem::ClipboardItem(ClipboardItem&& rhs) noexcept = default;
ClipboardItem& ClipboardItem::operator=(ClipboardItem&& rhs) noexcept = default;
ClipboardItem ClipboardItem::Clone() const {}

// static
bool ClipboardItem::Populate(
    const base::Value::Dict& dict, ClipboardItem& out) {}

// static
bool ClipboardItem::Populate(
    const base::Value& value, ClipboardItem& out) {}

// static
std::optional<ClipboardItem> ClipboardItem::FromValue(const base::Value::Dict& value) {}

// static
std::optional<ClipboardItem> ClipboardItem::FromValue(const base::Value& value) {}

base::Value::Dict ClipboardItem::ToValue() const {}



//
// Functions
//

namespace InsertText {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create() {}
}  // namespace InsertText

namespace SendKeyEvent {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create() {}
}  // namespace SendKeyEvent

namespace HideKeyboard {

base::Value::List Results::Create() {}
}  // namespace HideKeyboard

namespace SetHotrodKeyboard {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetHotrodKeyboard

namespace LockKeyboard {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace LockKeyboard

namespace KeyboardLoaded {

base::Value::List Results::Create() {}
}  // namespace KeyboardLoaded

namespace GetKeyboardConfig {

base::Value::List Results::Create(const KeyboardConfig& config) {}
}  // namespace GetKeyboardConfig

namespace OpenSettings {

}  // namespace OpenSettings

namespace OpenSuggestionSettings {

}  // namespace OpenSuggestionSettings

namespace SetContainerBehavior {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create(bool success) {}
}  // namespace SetContainerBehavior

namespace SetDraggableArea {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetDraggableArea

namespace SetKeyboardState {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetKeyboardState

namespace SetOccludedBounds {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetOccludedBounds

namespace SetHitTestBounds {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetHitTestBounds

namespace SetAreaToRemainOnScreen {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetAreaToRemainOnScreen

namespace SetWindowBoundsInScreen {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace SetWindowBoundsInScreen

namespace GetClipboardHistory {

Params::Options::Options()
 {}

Params::Options::~Options() = default;
Params::Options::Options(Options&& rhs) noexcept = default;
Params::Options& Params::Options::operator=(Options&& rhs) noexcept = default;
Params::Options Params::Options::Clone() const {}

// static
bool Params::Options::Populate(
    const base::Value::Dict& dict, Options& out) {}

// static
bool Params::Options::Populate(
    const base::Value& value, Options& out) {}

// static
std::optional<Params::Options> Params::Options::FromValue(const base::Value::Dict& value) {}

// static
std::optional<Params::Options> Params::Options::FromValue(const base::Value& value) {}


Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create(const std::vector<ClipboardItem>& clipboard_history) {}
}  // namespace GetClipboardHistory

namespace PasteClipboardItem {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace PasteClipboardItem

namespace DeleteClipboardItem {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace DeleteClipboardItem

//
// Events
//

namespace OnBoundsChanged {

const char kEventName[] =;

base::Value::List Create(const Bounds& bounds) {}

}  // namespace OnBoundsChanged

namespace OnKeyboardClosed {

const char kEventName[] =;

base::Value::List Create() {}

}  // namespace OnKeyboardClosed

namespace OnKeyboardConfigChanged {

const char kEventName[] =;

base::Value::List Create(const KeyboardConfig& config) {}

}  // namespace OnKeyboardConfigChanged

namespace OnClipboardHistoryChanged {

const char kEventName[] =;

base::Value::List Create(const std::vector<std::string>& item_ids) {}

}  // namespace OnClipboardHistoryChanged

namespace OnClipboardItemUpdated {

const char kEventName[] =;

base::Value::List Create(const ClipboardItem& clipboard_history_item) {}

}  // namespace OnClipboardItemUpdated

namespace OnColorProviderChanged {

const char kEventName[] =;

base::Value::List Create() {}

}  // namespace OnColorProviderChanged

}  // namespace virtual_keyboard_private
}  // namespace api
}  // namespace extensions