#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 {
Bounds::Bounds()
{ … }
Bounds::~Bounds() = default;
Bounds::Bounds(Bounds&& rhs) noexcept = default;
Bounds& Bounds::operator=(Bounds&& rhs) noexcept = default;
Bounds Bounds::Clone() const { … }
bool Bounds::Populate(
const base::Value::Dict& dict, Bounds& out) { … }
bool Bounds::Populate(
const base::Value& value, Bounds& out) { … }
std::optional<Bounds> Bounds::FromValue(const base::Value::Dict& value) { … }
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 { … }
bool SizeConstraints::Populate(
const base::Value::Dict& dict, SizeConstraints& out) { … }
bool SizeConstraints::Populate(
const base::Value& value, SizeConstraints& out) { … }
std::optional<SizeConstraints> SizeConstraints::FromValue(const base::Value::Dict& value) { … }
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 { … }
bool RegionRect::Populate(
const base::Value::Dict& dict, RegionRect& out) { … }
bool RegionRect::Populate(
const base::Value& value, RegionRect& out) { … }
std::optional<RegionRect> RegionRect::FromValue(const base::Value::Dict& value) { … }
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 { … }
bool Region::Populate(
const base::Value::Dict& dict, Region& out) { … }
bool Region::Populate(
const base::Value& value, Region& out) { … }
std::optional<Region> Region::FromValue(const base::Value::Dict& value) { … }
std::optional<Region> Region::FromValue(const base::Value& value) { … }
base::Value::Dict Region::ToValue() const { … }
namespace Focus {
}
namespace Fullscreen {
}
namespace Minimize {
}
namespace Maximize {
}
namespace Restore {
}
namespace DrawAttention {
}
namespace ClearAttention {
}
namespace Show {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace Hide {
}
namespace SetBounds {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetSizeConstraints {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetIcon {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetShape {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetAlwaysOnTop {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetVisibleOnAllWorkspaces {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetActivateOnPointer {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace OnClosed {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnBoundsChanged {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnFullscreened {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnMinimized {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnMaximized {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnRestored {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnAlphaEnabledChanged {
const char kEventName[] = …;
base::Value::List Create() { … }
}
}
}
}