chromium/third_party/blink/renderer/modules/handwriting/handwriting_recognizer.cc

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

#include "third_party/blink/renderer/modules/handwriting/handwriting_recognizer.h"

#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_handwriting_hints.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/handwriting/handwriting_drawing.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"

namespace blink {

namespace {
const char kInvalidErrorMessage[] =;
}

HandwritingRecognizer::HandwritingRecognizer(
    ExecutionContext* context,
    mojo::PendingRemote<handwriting::mojom::blink::HandwritingRecognizer>
        pending_remote)
    :{}

HandwritingRecognizer::~HandwritingRecognizer() = default;

bool HandwritingRecognizer::IsValid() {}

void HandwritingRecognizer::GetPrediction(
    Vector<handwriting::mojom::blink::HandwritingStrokePtr> strokes,
    handwriting::mojom::blink::HandwritingHintsPtr hints,
    handwriting::mojom::blink::HandwritingRecognizer::GetPredictionCallback
        callback) {}

HandwritingDrawing* HandwritingRecognizer::startDrawing(
    ScriptState* script_state,
    const HandwritingHints* hints,
    ExceptionState& exception_state) {}

void HandwritingRecognizer::finish(ExceptionState& exception_state) {}

void HandwritingRecognizer::Trace(Visitor* visitor) const {}

void HandwritingRecognizer::Invalidate() {}

}  // namespace blink