chromium/chrome/browser/ui/toasts/api/toast_specification.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.

#include "chrome/browser/ui/toasts/api/toast_specification.h"

#include <memory>

#include "base/check.h"
#include "base/functional/callback.h"
#include "base/functional/callback_forward.h"
#include "base/types/pass_key.h"
#include "ui/base/models/simple_menu_model.h"

ToastSpecification::Builder::Builder(const gfx::VectorIcon& icon,
                                     int body_string_id)
    :{}

ToastSpecification::Builder::~Builder() {}

ToastSpecification::Builder& ToastSpecification::Builder::AddCloseButton() {}

ToastSpecification::Builder& ToastSpecification::Builder::AddActionButton(
    int action_button_string_id,
    base::RepeatingClosure closure) {}

ToastSpecification::Builder& ToastSpecification::Builder::AddMenu(
    std::unique_ptr<ui::SimpleMenuModel> menu_model) {}

ToastSpecification::Builder& ToastSpecification::Builder::AddPersistance() {}

std::unique_ptr<ToastSpecification> ToastSpecification::Builder::Build() {}

void ToastSpecification::Builder::ValidateSpecification() {}

ToastSpecification::ToastSpecification(
    base::PassKey<ToastSpecification::Builder>,
    const gfx::VectorIcon& icon,
    int string_id)
    :{}

ToastSpecification::~ToastSpecification() = default;

void ToastSpecification::AddCloseButton() {}

void ToastSpecification::AddActionButton(int string_id,
                                         base::RepeatingClosure closure) {}

void ToastSpecification::AddMenu(
    std::unique_ptr<ui::SimpleMenuModel> menu_model) {}

void ToastSpecification::AddPersistance() {}