chromium/out/Default/gen/ui/events/mojom/event_constants.mojom-shared.cc

// ui/events/mojom/event_constants.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/events/mojom/event_constants.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/events/mojom/event_constants.mojom-params-data.h"
namespace ui {
namespace mojom {

NOINLINE static const char* AcceleratorPhaseToStringHelper(AcceleratorPhase value) {}

std::string AcceleratorPhaseToString(AcceleratorPhase value) {}

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

NOINLINE static const char* EventTypeToStringHelper(EventType value) {}

std::string EventTypeToString(EventType value) {}

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

NOINLINE static const char* ScrollEventPhaseToStringHelper(ScrollEventPhase value) {}

std::string ScrollEventPhaseToString(ScrollEventPhase value) {}

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

NOINLINE static const char* EventMomentumPhaseToStringHelper(EventMomentumPhase value) {}

std::string EventMomentumPhaseToString(EventMomentumPhase value) {}

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

NOINLINE static const char* GestureDeviceTypeToStringHelper(GestureDeviceType value) {}

std::string GestureDeviceTypeToString(GestureDeviceType value) {}

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

namespace internal {

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto