chromium/chrome/browser/ui/webui/commerce/product_specifications_disclosure_dialog.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/webui/commerce/product_specifications_disclosure_dialog.h"

#include <memory>
#include <utility>

#include "base/json/json_writer.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/views/chrome_constrained_window_views_client.h"
#include "chrome/browser/ui/views/chrome_web_dialog_view.h"
#include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
#include "components/commerce/core/commerce_constants.h"
#include "components/web_modal/web_contents_modal_dialog_host.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/widget/widget.h"
#include "url/gurl.h"

namespace {

constexpr gfx::Size kDialogSize{};

void UpdateDialogPosition(views::Widget* widget,
                          content::WebContents* web_contents) {}

gfx::NativeView GetParentView(content::WebContents* web_contents) {}

views::Widget::InitParams CreateParams() {}
}  // namespace

namespace commerce {

DialogArgs::DialogArgs(std::vector<GURL> urls,
                       std::string name,
                       bool in_new_tab)
    :{}
DialogArgs::~DialogArgs() = default;
DialogArgs::DialogArgs(const DialogArgs&) = default;
DialogArgs& DialogArgs::operator=(const DialogArgs&) = default;

base::Value::Dict DialogArgs::ToValue() {}

// static
ProductSpecificationsDisclosureDialog*
    ProductSpecificationsDisclosureDialog::current_instance_ =;

// static
void ProductSpecificationsDisclosureDialog::ShowDialog(
    content::BrowserContext* browser_context,
    content::WebContents* web_contents,
    DialogArgs dialog_args) {}

ProductSpecificationsDisclosureDialog::ProductSpecificationsDisclosureDialog(
    content::WebContents* contents,
    DialogArgs dialog_args) {}

ProductSpecificationsDisclosureDialog::
    ~ProductSpecificationsDisclosureDialog() {}

}  // namespace commerce