chromium/out/Default/gen/ui/base/mojom/ui_base_types.mojom-shared.cc

// ui/base/mojom/ui_base_types.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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/mojom/ui_base_types.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#include <ostream>
#include <utility>

#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "ui/base/mojom/ui_base_types.mojom-params-data.h"
namespace ui {
namespace mojom {

NOINLINE static const char* ModalTypeToStringHelper(ModalType value) {}

std::string ModalTypeToString(ModalType value) {}

std::ostream& operator<<(std::ostream& os, ModalType value) {}

NOINLINE static const char* MenuSourceTypeToStringHelper(MenuSourceType value) {}

std::string MenuSourceTypeToString(MenuSourceType value) {}

std::ostream& operator<<(std::ostream& os, MenuSourceType value) {}

NOINLINE static const char* WindowShowStateToStringHelper(WindowShowState value) {}

std::string WindowShowStateToString(WindowShowState value) {}

std::ostream& operator<<(std::ostream& os, WindowShowState value) {}

namespace internal {

}  // namespace internal
}  // namespace mojom
}  // namespace ui

namespace perfetto {

// static
void TraceFormatTraits<::ui::mojom::ModalType>::WriteIntoTrace(
   perfetto::TracedValue context, ::ui::mojom::ModalType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::ui::mojom::MenuSourceType>::WriteIntoTrace(
   perfetto::TracedValue context, ::ui::mojom::MenuSourceType value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::ui::mojom::WindowShowState>::WriteIntoTrace(
   perfetto::TracedValue context, ::ui::mojom::WindowShowState value) {}

} // namespace perfetto