chromium/out/Default/gen/extensions/common/api/app_current_window_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
//   extensions/common/api/app_current_window_internal.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "extensions/common/api/app_current_window_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"

UTF8ToUTF16;

namespace extensions {
namespace api {
namespace app_current_window_internal {
//
// Types
//

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 {}


SizeConstraints::SizeConstraints()
 {}

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

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

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

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

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

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


RegionRect::RegionRect()
:{}

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

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

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

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

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

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


Region::Region()
 {}

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

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

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

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

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

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



//
// Functions
//

namespace Focus {

}  // namespace Focus

namespace Fullscreen {

}  // namespace Fullscreen

namespace Minimize {

}  // namespace Minimize

namespace Maximize {

}  // namespace Maximize

namespace Restore {

}  // namespace Restore

namespace DrawAttention {

}  // namespace DrawAttention

namespace ClearAttention {

}  // namespace ClearAttention

namespace Show {

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 Show

namespace Hide {

}  // namespace Hide

namespace SetBounds {

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 SetBounds

namespace SetSizeConstraints {

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 SetSizeConstraints

namespace SetIcon {

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 SetIcon

namespace SetShape {

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 SetShape

namespace SetAlwaysOnTop {

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 SetAlwaysOnTop

namespace SetVisibleOnAllWorkspaces {

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 SetVisibleOnAllWorkspaces

namespace SetActivateOnPointer {

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 SetActivateOnPointer

//
// Events
//

namespace OnClosed {

const char kEventName[] =;

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

}  // namespace OnClosed

namespace OnBoundsChanged {

const char kEventName[] =;

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

}  // namespace OnBoundsChanged

namespace OnFullscreened {

const char kEventName[] =;

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

}  // namespace OnFullscreened

namespace OnMinimized {

const char kEventName[] =;

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

}  // namespace OnMinimized

namespace OnMaximized {

const char kEventName[] =;

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

}  // namespace OnMaximized

namespace OnRestored {

const char kEventName[] =;

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

}  // namespace OnRestored

namespace OnAlphaEnabledChanged {

const char kEventName[] =;

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

}  // namespace OnAlphaEnabledChanged

}  // namespace app_current_window_internal
}  // namespace api
}  // namespace extensions