chromium/third_party/blink/renderer/platform/geometry/geometry_as_json.h

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_AS_JSON_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_AS_JSON_H_

#include <memory>

#include "third_party/blink/renderer/platform/json/json_values.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "ui/gfx/geometry/rect_f.h"

namespace blink {

template <typename T>
static std::unique_ptr<JSONArray> RectAsJSONArray(const T& rect) {}

template <typename T>
std::unique_ptr<JSONArray> PointAsJSONArray(const T& point) {}

template <typename T>
std::unique_ptr<JSONArray> VectorAsJSONArray(const T& vector) {}

inline std::unique_ptr<JSONArray> Point3AsJSONArray(const gfx::Point3F& point) {}

template <typename T>
std::unique_ptr<JSONArray> SizeAsJSONArray(const T& size) {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GEOMETRY_GEOMETRY_AS_JSON_H_