#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/omnibox/browser/omnibox_view.h"
#include <stddef.h>
#include <string>
#include <utility>
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/test/test_bookmark_client.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/omnibox/browser/omnibox_controller.h"
#include "components/omnibox/browser/test_omnibox_client.h"
#include "components/omnibox/browser/test_omnibox_edit_model.h"
#include "components/omnibox/browser/test_omnibox_view.h"
#include "components/omnibox/common/omnibox_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_features.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/favicon_size.h"
#include "ui/gfx/paint_vector_icon.h"
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
#include "components/omnibox/browser/vector_icons.h"
#include "components/vector_icons/vector_icons.h"
#endif
ASCIIToUTF16;
_;
DoAll;
Return;
SaveArg;
namespace {
class OmniboxViewTest : public testing::Test { … };
TEST_F(OmniboxViewTest, TestStripSchemasUnsafeForPaste) { … }
TEST_F(OmniboxViewTest, SanitizeTextForPaste) { … }
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
TEST_F(OmniboxViewTest, DISABLED_GetIcon_Default) { … }
TEST_F(OmniboxViewTest, DISABLED_GetIcon_BookmarkIcon) { … }
TEST_F(OmniboxViewTest, GetIcon_Favicon) { … }
#endif
TEST_F(OmniboxViewTest, GetStateChanges_DeletedText) { … }
TEST_F(OmniboxViewTest, GetStateChanges_DeletedText_RichAutocompletion) { … }
}