chromium/chrome/browser/ui/android/fakepdf/java/src/org/chromium/chrome/browser/fakepdf/PdfDocumentListener.java

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

package org.chromium.chrome.browser.fakepdf;

/** Fake PDF viewer API. Will be removed once real APIs become available. */
public interface PdfDocumentListener {
    default void onDocumentLoaded(PdfDocument document) {}

    default void onDocumentLoadFailed(RuntimeException throwable) {}
}