chromium/components/page_image_annotation/core/page_annotator.cc

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

#include "components/page_image_annotation/core/page_annotator.h"

#include "base/functional/bind.h"
#include "base/observer_list.h"

namespace page_image_annotation {

ia_mojom;

PageAnnotator::Observer::~Observer() {}

PageAnnotator::PageAnnotator(mojo::PendingRemote<ia_mojom::Annotator> annotator)
    :{}

PageAnnotator::~PageAnnotator() {}

void PageAnnotator::ImageAddedOrPossiblyModified(
    const ImageMetadata& metadata,
    base::RepeatingCallback<SkBitmap()> pixels_callback) {}

void PageAnnotator::ImageRemoved(const uint64_t node_id) {}

void PageAnnotator::AnnotateImage(Observer* const observer,
                                  const uint64_t node_id) {}

void PageAnnotator::AddObserver(Observer* const observer) {}

void PageAnnotator::AddNewImage(
    const ImageMetadata& metadata,
    base::RepeatingCallback<SkBitmap()> pixels_callback) {}

void PageAnnotator::NotifyObserver(Observer* const observer,
                                   const uint64_t node_id,
                                   ia_mojom::AnnotateImageResultPtr result) {}

}  // namespace page_image_annotation