#include "ui/display/mojom/display.mojom-shared.h"
#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/display/mojom/display.mojom-params-data.h"
namespace display {
namespace mojom {
NOINLINE static const char* RotationToStringHelper(Rotation value) { … }
std::string RotationToString(Rotation value) { … }
std::ostream& operator<<(std::ostream& os, Rotation value) { … }
NOINLINE static const char* TouchSupportToStringHelper(TouchSupport value) { … }
std::string TouchSupportToString(TouchSupport value) { … }
std::ostream& operator<<(std::ostream& os, TouchSupport value) { … }
NOINLINE static const char* AccelerometerSupportToStringHelper(AccelerometerSupport value) { … }
std::string AccelerometerSupportToString(AccelerometerSupport value) { … }
std::ostream& operator<<(std::ostream& os, AccelerometerSupport value) { … }
namespace internal {
bool Display_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
Display_Data::Display_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::display::mojom::Rotation>::WriteIntoTrace(
perfetto::TracedValue context, ::display::mojom::Rotation value) { … }
}
namespace perfetto {
void TraceFormatTraits<::display::mojom::TouchSupport>::WriteIntoTrace(
perfetto::TracedValue context, ::display::mojom::TouchSupport value) { … }
}
namespace perfetto {
void TraceFormatTraits<::display::mojom::AccelerometerSupport>::WriteIntoTrace(
perfetto::TracedValue context, ::display::mojom::AccelerometerSupport value) { … }
}