#include <memory>
#include "components/omnibox/browser/test_omnibox_client.h"
#include "components/omnibox/browser/test_omnibox_edit_model.h"
TestOmniboxEditModel::TestOmniboxEditModel(
OmniboxController* omnibox_controller,
OmniboxView* view,
PrefService* pref_service)
: … { … }
TestOmniboxEditModel::~TestOmniboxEditModel() { … }
bool TestOmniboxEditModel::PopupIsOpen() const { … }
AutocompleteMatch TestOmniboxEditModel::CurrentMatch(
GURL* alternate_nav_url) const { … }
void TestOmniboxEditModel::SetPopupIsOpen(bool open) { … }
void TestOmniboxEditModel::SetCurrentMatchForTest(
const AutocompleteMatch& match) { … }
void TestOmniboxEditModel::OnPopupDataChanged(
const std::u16string& temporary_text,
bool is_temporary_text,
const std::u16string& inline_autocompletion,
const std::u16string& prefix_autocompletion,
const std::u16string& keyword,
bool is_keyword_hint,
const std::u16string& additional_text,
const AutocompleteMatch& match) { … }
PrefService* TestOmniboxEditModel::GetPrefService() const { … }