chromium/out/Default/gen/chrome/common/extensions/api/chrome_web_view_internal.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
//   chrome/common/extensions/api/chrome_web_view_internal.json
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "chrome/common/extensions/api/chrome_web_view_internal.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 "chrome/common/extensions/api/context_menus.h"


UTF8ToUTF16;

namespace extensions {
namespace api {
namespace chrome_web_view_internal {
//
// Types
//

ContextMenuItem::ContextMenuItem()
:{}

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

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

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

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

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

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



//
// Functions
//

namespace ContextMenusCreate {

Params::CreateProperties::ParentId::ParentId()
 {}

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

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

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



Params::CreateProperties::CreateProperties()
:{}

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

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

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

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

// static
std::optional<Params::CreateProperties> Params::CreateProperties::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() {}
}  // namespace ContextMenusCreate

namespace ContextMenusUpdate {

Params::Id::Id()
 {}

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

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

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


Params::UpdateProperties::ParentId::ParentId()
 {}

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

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

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



Params::UpdateProperties::UpdateProperties()
:{}

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

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

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

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

// static
std::optional<Params::UpdateProperties> Params::UpdateProperties::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() {}
}  // namespace ContextMenusUpdate

namespace ContextMenusRemove {

Params::MenuItemId::MenuItemId()
 {}

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

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

// static
std::optional<Params::MenuItemId> Params::MenuItemId::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() {}
}  // namespace ContextMenusRemove

namespace ContextMenusRemoveAll {

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 ContextMenusRemoveAll

namespace ShowContextMenu {

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 ShowContextMenu

//
// Events
//

namespace OnClicked {

const char kEventName[] =;

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

}  // namespace OnClicked

namespace OnShow {

const char kEventName[] =;

Event::Event()
 {}

Event::~Event() = default;
Event::Event(Event&& rhs) noexcept = default;
Event& Event::operator=(Event&& rhs) noexcept = default;
base::Value::Dict Event::ToValue() const {}


base::Value::List Create(const Event& event) {}

}  // namespace OnShow

}  // namespace chrome_web_view_internal
}  // namespace api
}  // namespace extensions