chromium/chrome/browser/shortcuts/shortcut_creation_browsertest.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 <string>

#include "base/base_paths.h"
#include "base/path_service.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/scoped_path_override.h"
#include "base/test/test_future.h"
#include "chrome/browser/platform_util_internal.h"  // nogncheck (crbug.com/335727004)
#include "chrome/browser/shortcuts/create_shortcut_for_current_web_contents_task.h"
#include "chrome/browser/shortcuts/shortcut_creator.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/common/chrome_features.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "ui/gfx/image/image_skia.h"

namespace shortcuts {

namespace {

constexpr char kPageWithIcons[] =;

class ShortcutCreationBrowserTest : public InProcessBrowserTest {};

IN_PROC_BROWSER_TEST_F(ShortcutCreationBrowserTest,
                       CannotStackTasksSameWebContents) {}

#if BUILDFLAG(IS_LINUX)
#define MAYBE_WebContentsNavigatedAway
#else
#define MAYBE_WebContentsNavigatedAway
#endif  // BUILDFLAG(IS_LINUX)
IN_PROC_BROWSER_TEST_F(ShortcutCreationBrowserTest,
                       MAYBE_WebContentsNavigatedAway) {}

IN_PROC_BROWSER_TEST_F(ShortcutCreationBrowserTest, VisibilityChangeStopsTask) {}

}  // namespace
}  // namespace shortcuts