chromium/ui/base/ime/mojom/text_edit_command_mojom_traits.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 "ui/base/ime/mojom/text_edit_command_mojom_traits.h"

namespace mojo {

// These functions use text_edit_commands.inc to generate the code required to
// convert to and from ui::TextEditCommand and
// ui::mojom::TextEditCommand.

// static
#define TEXT_EDIT_COMMAND

ui::mojom::TextEditCommand
EnumTraits<ui::mojom::TextEditCommand, ui::TextEditCommand>::ToMojom(
    ui::TextEditCommand input) {}

// static
#define TEXT_EDIT_COMMAND

bool EnumTraits<ui::mojom::TextEditCommand, ui::TextEditCommand>::FromMojom(
    ui::mojom::TextEditCommand input,
    ui::TextEditCommand* output) {}

}  // namespace mojo