chromium/components/user_notes/browser/user_note_instance.cc

// Copyright 2022 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/user_notes/browser/user_note_instance.h"

#include "base/trace_event/typed_macros.h"
#include "components/user_notes/browser/user_note_manager.h"
#include "components/user_notes/model/user_note_target.h"

namespace user_notes {

UserNoteInstance::UserNoteInstance(base::SafeRef<UserNote> model,
                                   UserNoteManager* parent_manager,
                                   PassKey pass_key)
    :{}

UserNoteInstance::UserNoteInstance(base::SafeRef<UserNote> model,
                                   UserNoteManager* parent_manager)
    :{}

// static
std::unique_ptr<UserNoteInstance> UserNoteInstance::Create(
    base::SafeRef<UserNote> model,
    UserNoteManager* parent_manager) {}

UserNoteInstance::~UserNoteInstance() = default;

bool UserNoteInstance::IsDetached() const {}

void UserNoteInstance::BindToHighlight(
    mojo::PendingReceiver<blink::mojom::AnnotationAgentHost> host_receiver,
    mojo::PendingRemote<blink::mojom::AnnotationAgent> agent_remote,
    AttachmentFinishedCallback callback) {}

void UserNoteInstance::InitializeHighlightIfNeeded(
    AttachmentFinishedCallback callback) {}

void UserNoteInstance::OnNoteSelected() {}

void UserNoteInstance::DidFinishAttachment(const gfx::Rect& rect) {}

void UserNoteInstance::OnWebHighlightFocused() {}

void UserNoteInstance::OnNoteDetached() {}

void UserNoteInstance::InitializeHighlightInternal() {}

}  // namespace user_notes