blob: 4d132dd5ad65b284350776cd3279e7d30c4f3176 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_
#define CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_
#include <string>
#include <vector>
class GURL;
class TabStripModel;
class ToastController;
namespace commerce {
// Opens a new Compare tab with |urls| at |index| in the tab strip model.
void OpenProductSpecsTabForUrls(const std::vector<GURL>& urls,
TabStripModel* tab_strip_model,
int index);
// Shows the "added to set" confirmation toast if the toast feature is enabled.
void ShowProductSpecsConfirmationToast(std::u16string set_name,
ToastController* toast_controller);
} // namespace commerce
#endif // CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_