#include "chrome/browser/ui/views/bookmarks/bookmark_context_menu.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/bookmarks/managed_bookmark_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h"
#include "chrome/browser/ui/bookmarks/test_bookmark_navigation_wrapper.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "chrome/test/base/testing_profile.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/bookmarks/managed/managed_bookmark_service.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/clipboard/test/test_clipboard.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/views/controls/menu/menu_item_view.h"
#include "ui/views/test/scoped_views_test_helper.h"
#if BUILDFLAG(IS_WIN)
#include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h"
#endif
ASCIIToUTF16;
BookmarkModel;
BookmarkNode;
BrowserThread;
OpenURLParams;
PageNavigator;
WebContents;
class BookmarkContextMenuTest : public testing::Test { … };
TEST_F(BookmarkContextMenuTest, DeleteURL) { … }
TEST_F(BookmarkContextMenuTest, OpenCount) { … }
TEST_F(BookmarkContextMenuTest, OpenCountIncognito) { … }
TEST_F(BookmarkContextMenuTest, EmptyNodes) { … }
TEST_F(BookmarkContextMenuTest, SingleURL) { … }
TEST_F(BookmarkContextMenuTest, MultipleURLs) { … }
TEST_F(BookmarkContextMenuTest, SingleFolder) { … }
TEST_F(BookmarkContextMenuTest, MultipleEmptyFolders) { … }
TEST_F(BookmarkContextMenuTest, MultipleFoldersWithURLs) { … }
TEST_F(BookmarkContextMenuTest, DisableIncognito) { … }
TEST_F(BookmarkContextMenuTest, DisabledItemsWithOtherNode) { … }
TEST_F(BookmarkContextMenuTest, EmptyNodesNullParent) { … }
TEST_F(BookmarkContextMenuTest, CutCopyPasteNode) { … }
TEST_F(BookmarkContextMenuTest, ShowManagedBookmarks) { … }