chromium/chrome/browser/ui/webui/side_panel/customize_chrome/customize_toolbar/customize_toolbar_handler.cc

// Copyright 2024 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/side_panel/customize_chrome/customize_toolbar/customize_toolbar_handler.h"

#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/actions/chrome_action_id.h"
#include "chrome/browser/ui/browser_actions.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/customize_toolbar/customize_toolbar.mojom.h"
#include "chrome/browser/ui/webui/util/image_util.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "ui/actions/actions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/display/screen.h"

namespace {
std::optional<side_panel::customize_chrome::mojom::ActionId>
MojoActionForChromeAction(actions::ActionId action_id) {}

std::optional<actions::ActionId> ChromeActionForMojoAction(
    side_panel::customize_chrome::mojom::ActionId action_id) {}
}  // namespace

CustomizeToolbarHandler::CustomizeToolbarHandler(
    mojo::PendingReceiver<
        side_panel::customize_chrome::mojom::CustomizeToolbarHandler> handler,
    mojo::PendingRemote<
        side_panel::customize_chrome::mojom::CustomizeToolbarClient> client,
    raw_ptr<Browser> browser)
    :{}

CustomizeToolbarHandler::~CustomizeToolbarHandler() = default;

void CustomizeToolbarHandler::ListActions(ListActionsCallback callback) {}

void CustomizeToolbarHandler::ListCategories(ListCategoriesCallback callback) {}

void CustomizeToolbarHandler::PinAction(
    side_panel::customize_chrome::mojom::ActionId action_id,
    bool pin) {}

void CustomizeToolbarHandler::GetIsCustomized(
    GetIsCustomizedCallback callback) {}

void CustomizeToolbarHandler::ResetToDefault() {}

void CustomizeToolbarHandler::OnActionsChanged() {}

void CustomizeToolbarHandler::OnActionPinnedChanged(actions::ActionId id,
                                                    bool pinned) {}

void CustomizeToolbarHandler::OnShowHomeButtonChanged() {}

void CustomizeToolbarHandler::OnShowForwardButtonChanged() {}

void CustomizeToolbarHandler::OnActionItemChanged() {}

PrefService* CustomizeToolbarHandler::prefs() const {}