chore: update pdf_viewer_private.idl (#45370)

chore: update pdf_viewer_private.idl

- 6160067
This commit is contained in:
Shelley Vohr 2025-01-30 11:03:27 +01:00 committed by GitHub
parent 8543820d98
commit 43e328f363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,5 +68,10 @@ namespace pdfViewerPrivate {
// Fired when the browser wants the listener to perform a save.
// `streamUrl`: Unique ID for the instance that should perform the save.
static void onSave(DOMString streamUrl);
// Fired when the browser wants the listener to update the viewport based on
// a different PDF URL.
// `pdfUrl`: The string of the PDF URL that should update the viewport.
static void onShouldUpdateViewport(DOMString pdfUrl);
};
};