#include "extensions/common/api/app_window.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>
#include "extensions/common/api/app_runtime.h"
UTF8ToUTF16;
namespace extensions {
namespace api {
namespace app_window {
ContentBounds::ContentBounds()
{ … }
ContentBounds::~ContentBounds() = default;
ContentBounds::ContentBounds(ContentBounds&& rhs) noexcept = default;
ContentBounds& ContentBounds::operator=(ContentBounds&& rhs) noexcept = default;
ContentBounds ContentBounds::Clone() const { … }
bool ContentBounds::Populate(
const base::Value::Dict& dict, ContentBounds& out) { … }
bool ContentBounds::Populate(
const base::Value& value, ContentBounds& out) { … }
std::optional<ContentBounds> ContentBounds::FromValue(const base::Value::Dict& value) { … }
std::optional<ContentBounds> ContentBounds::FromValue(const base::Value& value) { … }
base::Value::Dict ContentBounds::ToValue() const { … }
BoundsSpecification::BoundsSpecification()
{ … }
BoundsSpecification::~BoundsSpecification() = default;
BoundsSpecification::BoundsSpecification(BoundsSpecification&& rhs) noexcept = default;
BoundsSpecification& BoundsSpecification::operator=(BoundsSpecification&& rhs) noexcept = default;
BoundsSpecification BoundsSpecification::Clone() const { … }
bool BoundsSpecification::Populate(
const base::Value::Dict& dict, BoundsSpecification& out) { … }
bool BoundsSpecification::Populate(
const base::Value& value, BoundsSpecification& out) { … }
std::optional<BoundsSpecification> BoundsSpecification::FromValue(const base::Value::Dict& value) { … }
std::optional<BoundsSpecification> BoundsSpecification::FromValue(const base::Value& value) { … }
base::Value::Dict BoundsSpecification::ToValue() const { … }
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 { … }
FrameOptions::FrameOptions()
{ … }
FrameOptions::~FrameOptions() = default;
FrameOptions::FrameOptions(FrameOptions&& rhs) noexcept = default;
FrameOptions& FrameOptions::operator=(FrameOptions&& rhs) noexcept = default;
FrameOptions FrameOptions::Clone() const { … }
bool FrameOptions::Populate(
const base::Value::Dict& dict, FrameOptions& out) { … }
bool FrameOptions::Populate(
const base::Value& value, FrameOptions& out) { … }
std::optional<FrameOptions> FrameOptions::FromValue(const base::Value::Dict& value) { … }
std::optional<FrameOptions> FrameOptions::FromValue(const base::Value& value) { … }
base::Value::Dict FrameOptions::ToValue() const { … }
const char* ToString(State enum_param) { … }
State ParseState(std::string_view enum_string) { … }
std::u16string GetStateParseError(std::string_view enum_string) { … }
const char* ToString(WindowType enum_param) { … }
WindowType ParseWindowType(std::string_view enum_string) { … }
std::u16string GetWindowTypeParseError(std::string_view enum_string) { … }
CreateWindowOptions::Frame::Frame()
{ … }
CreateWindowOptions::Frame::~Frame() = default;
CreateWindowOptions::Frame::Frame(Frame&& rhs) noexcept = default;
CreateWindowOptions::Frame& CreateWindowOptions::Frame::operator=(Frame&& rhs) noexcept = default;
CreateWindowOptions::Frame CreateWindowOptions::Frame::Clone() const { … }
bool CreateWindowOptions::Frame::Populate(
const base::Value& value, Frame& out) { … }
std::optional<CreateWindowOptions::Frame> CreateWindowOptions::Frame::FromValue(const base::Value& value) { … }
base::Value CreateWindowOptions::Frame::ToValue() const { … }
CreateWindowOptions::CreateWindowOptions()
: … { … }
CreateWindowOptions::~CreateWindowOptions() = default;
CreateWindowOptions::CreateWindowOptions(CreateWindowOptions&& rhs) noexcept = default;
CreateWindowOptions& CreateWindowOptions::operator=(CreateWindowOptions&& rhs) noexcept = default;
CreateWindowOptions CreateWindowOptions::Clone() const { … }
bool CreateWindowOptions::Populate(
const base::Value::Dict& dict, CreateWindowOptions& out) { … }
bool CreateWindowOptions::Populate(
const base::Value& value, CreateWindowOptions& out) { … }
std::optional<CreateWindowOptions> CreateWindowOptions::FromValue(const base::Value::Dict& value) { … }
std::optional<CreateWindowOptions> CreateWindowOptions::FromValue(const base::Value& value) { … }
base::Value::Dict CreateWindowOptions::ToValue() const { … }
AppWindow::ContentWindow::ContentWindow()
{ … }
AppWindow::ContentWindow::~ContentWindow() = default;
AppWindow::ContentWindow::ContentWindow(ContentWindow&& rhs) noexcept = default;
AppWindow::ContentWindow& AppWindow::ContentWindow::operator=(ContentWindow&& rhs) noexcept = default;
AppWindow::ContentWindow AppWindow::ContentWindow::Clone() const { … }
bool AppWindow::ContentWindow::Populate(
const base::Value::Dict& dict, ContentWindow& out) { … }
bool AppWindow::ContentWindow::Populate(
const base::Value& value, ContentWindow& out) { … }
std::optional<AppWindow::ContentWindow> AppWindow::ContentWindow::FromValue(const base::Value::Dict& value) { … }
std::optional<AppWindow::ContentWindow> AppWindow::ContentWindow::FromValue(const base::Value& value) { … }
base::Value::Dict AppWindow::ContentWindow::ToValue() const { … }
AppWindow::AppWindow()
: … { … }
AppWindow::~AppWindow() = default;
AppWindow::AppWindow(AppWindow&& rhs) noexcept = default;
AppWindow& AppWindow::operator=(AppWindow&& rhs) noexcept = default;
AppWindow AppWindow::Clone() const { … }
bool AppWindow::Populate(
const base::Value::Dict& dict, AppWindow& out) { … }
bool AppWindow::Populate(
const base::Value& value, AppWindow& out) { … }
std::optional<AppWindow> AppWindow::FromValue(const base::Value::Dict& value) { … }
std::optional<AppWindow> AppWindow::FromValue(const base::Value& value) { … }
base::Value::Dict AppWindow::ToValue() const { … }
namespace Create {
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) { … }
Results::CreatedWindow::CreatedWindow()
{ … }
Results::CreatedWindow::~CreatedWindow() = default;
Results::CreatedWindow::CreatedWindow(CreatedWindow&& rhs) noexcept = default;
Results::CreatedWindow& Results::CreatedWindow::operator=(CreatedWindow&& rhs) noexcept = default;
base::Value::Dict Results::CreatedWindow::ToValue() const { … }
base::Value::List Results::Create(const CreatedWindow& created_window) { … }
}
}
}
}