chromium/chrome/browser/ui/webui/commerce/shopping_ui_handler_delegate.cc

// Copyright 2023 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/shopping_ui_handler_delegate.h"

#include "base/memory/raw_ptr.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/feedback/show_feedback_page.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/signin/signin_ui_util.h"
#include "chrome/browser/ui/bookmarks/bookmark_editor.h"
#include "chrome/browser/ui/bookmarks/bookmark_utils.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/browser/ui/webui/commerce/product_specifications_disclosure_dialog.h"
#include "chrome/browser/ui/webui/commerce/shopping_insights_side_panel_ui.h"
#include "chrome/common/url_constants.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/commerce_utils.h"
#include "components/commerce/core/price_tracking_utils.h"
#include "components/commerce/core/webui/shopping_service_handler.h"
#include "components/signin/public/base/signin_metrics.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "shopping_ui_handler_delegate.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/page_transition_types.h"

namespace commerce {

ShoppingUiHandlerDelegate::ShoppingUiHandlerDelegate(
    ShoppingInsightsSidePanelUI* insights_side_panel_ui,
    Profile* profile)
    :{}

ShoppingUiHandlerDelegate::~ShoppingUiHandlerDelegate() = default;

std::optional<GURL> ShoppingUiHandlerDelegate::GetCurrentTabUrl() {}

void ShoppingUiHandlerDelegate::ShowInsightsSidePanelUI() {}

const bookmarks::BookmarkNode*
ShoppingUiHandlerDelegate::GetOrAddBookmarkForCurrentUrl() {}

void ShoppingUiHandlerDelegate::OpenUrlInNewTab(const GURL& url) {}

void ShoppingUiHandlerDelegate::SwitchToOrOpenTab(const GURL& url) {}

void ShoppingUiHandlerDelegate::ShowFeedbackForPriceInsights() {}

void ShoppingUiHandlerDelegate::ShowFeedbackForProductSpecifications(
    const std::string& log_id) {}

void ShoppingUiHandlerDelegate::ShowBookmarkEditorForCurrentUrl() {}

ukm::SourceId ShoppingUiHandlerDelegate::GetCurrentTabUkmSourceId() {}

void ShoppingUiHandlerDelegate::ShowProductSpecificationsDisclosureDialog(
    const std::vector<GURL>& urls,
    const std::string& name) {}

void ShoppingUiHandlerDelegate::ShowProductSpecificationsSetForUuid(
    const base::Uuid& uuid,
    bool in_new_tab) {}

void ShoppingUiHandlerDelegate::NavigateToUrl(Browser* browser,
                                              const GURL& url) {}

void ShoppingUiHandlerDelegate::ShowSyncSetupFlow() {}

}  // namespace commerce