#include "extensions/common/api/extension_options_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 extension_options_internal {
SizeChangedOptions::SizeChangedOptions()
: … { … }
SizeChangedOptions::~SizeChangedOptions() = default;
SizeChangedOptions::SizeChangedOptions(SizeChangedOptions&& rhs) noexcept = default;
SizeChangedOptions& SizeChangedOptions::operator=(SizeChangedOptions&& rhs) noexcept = default;
SizeChangedOptions SizeChangedOptions::Clone() const { … }
bool SizeChangedOptions::Populate(
const base::Value::Dict& dict, SizeChangedOptions& out) { … }
bool SizeChangedOptions::Populate(
const base::Value& value, SizeChangedOptions& out) { … }
std::optional<SizeChangedOptions> SizeChangedOptions::FromValue(const base::Value::Dict& value) { … }
std::optional<SizeChangedOptions> SizeChangedOptions::FromValue(const base::Value& value) { … }
base::Value::Dict SizeChangedOptions::ToValue() const { … }
PreferredSizeChangedOptions::PreferredSizeChangedOptions()
: … { … }
PreferredSizeChangedOptions::~PreferredSizeChangedOptions() = default;
PreferredSizeChangedOptions::PreferredSizeChangedOptions(PreferredSizeChangedOptions&& rhs) noexcept = default;
PreferredSizeChangedOptions& PreferredSizeChangedOptions::operator=(PreferredSizeChangedOptions&& rhs) noexcept = default;
PreferredSizeChangedOptions PreferredSizeChangedOptions::Clone() const { … }
bool PreferredSizeChangedOptions::Populate(
const base::Value::Dict& dict, PreferredSizeChangedOptions& out) { … }
bool PreferredSizeChangedOptions::Populate(
const base::Value& value, PreferredSizeChangedOptions& out) { … }
std::optional<PreferredSizeChangedOptions> PreferredSizeChangedOptions::FromValue(const base::Value::Dict& value) { … }
std::optional<PreferredSizeChangedOptions> PreferredSizeChangedOptions::FromValue(const base::Value& value) { … }
base::Value::Dict PreferredSizeChangedOptions::ToValue() const { … }
namespace OnClose {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnLoad {
const char kEventName[] = …;
base::Value::List Create() { … }
}
namespace OnPreferredSizeChanged {
const char kEventName[] = …;
base::Value::List Create(const PreferredSizeChangedOptions& options) { … }
}
}
}
}