#include "chrome/browser/ui/views/bookmarks/bookmark_editor_view.h"
#include <memory>
#include <string>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_test_views_delegate.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/common/bookmark_metrics.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/expect_call_in_scope.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/focus_ring.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/controls/tree/tree_view.h"
#include "ui/views/test/views_test_utils.h"
#include "ui/views/view_utils.h"
ASCIIToUTF16;
UTF8ToUTF16;
BookmarkModel;
BookmarkNode;
class BookmarkEditorViewTest : public testing::Test { … };
TEST_F(BookmarkEditorViewTest, ModelsMatch) { … }
TEST_F(BookmarkEditorViewTest, EditTitleKeepsPosition) { … }
TEST_F(BookmarkEditorViewTest, EditURLKeepsPosition) { … }
TEST_F(BookmarkEditorViewTest, ChangeParent) { … }
TEST_F(BookmarkEditorViewTest, ChangeParentAndURL) { … }
TEST_F(BookmarkEditorViewTest, MoveToNewParent) { … }
TEST_F(BookmarkEditorViewTest, NewURL) { … }
TEST_F(BookmarkEditorViewTest, ChangeURLNoTree) { … }
TEST_F(BookmarkEditorViewTest, ChangeTitleNoTree) { … }
TEST_F(BookmarkEditorViewTest, EditKeepsScheme) { … }
TEST_F(BookmarkEditorViewTest, NewFolder) { … }
TEST_F(BookmarkEditorViewTest, MoveFolder) { … }
TEST_F(BookmarkEditorViewTest, NewFolderTitleUpdatedOnCommit) { … }
TEST_F(BookmarkEditorViewTest, DeleteNonEmptyFolder) { … }
TEST_F(BookmarkEditorViewTest, CancelNonEmptyFolderDeletion) { … }
TEST_F(BookmarkEditorViewTest, ConcurrentDeleteDuringConfirmationDialog) { … }
TEST_F(BookmarkEditorViewTest, DISABLED_EditorFullyShown) { … }
TEST_F(BookmarkEditorViewTest, OnSaveCallbackRunsOnSaveIfDefined) { … }
TEST_F(BookmarkEditorViewTest, AccessibleProperties) { … }