blob: 7534237c6918218de8733241fa305670f4616227 [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 Browser;
class GURL;
class TabStripModel;
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,
Browser* browser);
} // namespace commerce
#endif // CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_