chromium/chrome/browser/ui/webui/search_engine_choice/search_engine_choice_handler.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/search_engine_choice/search_engine_choice_handler.h"

#include "base/functional/callback_forward.h"
#include "base/metrics/histogram_functions.h"
#include "components/search_engines/search_engine_choice/search_engine_choice_utils.h"

SearchEngineChoiceHandler::SearchEngineChoiceHandler(
    mojo::PendingReceiver<search_engine_choice::mojom::PageHandler> receiver,
    base::OnceCallback<void()> display_dialog_callback,
    base::OnceCallback<void(int)> handle_choice_selected_callback,
    base::RepeatingCallback<void()> handle_learn_more_clicked_callback,
    base::OnceCallback<void()> handle_more_button_clicked_callback)
    :{}

SearchEngineChoiceHandler::~SearchEngineChoiceHandler() = default;

void SearchEngineChoiceHandler::DisplayDialog() {}

void SearchEngineChoiceHandler::HandleSearchEngineChoiceSelected(
    int prepopulate_id) {}

void SearchEngineChoiceHandler::HandleLearnMoreLinkClicked() {}

void SearchEngineChoiceHandler::HandleMoreButtonClicked() {}

void SearchEngineChoiceHandler::RecordScrollState(
    search_engine_choice::mojom::PageHandler_ScrollState scroll_state) {}