Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: pdf/pdf_engine.h

Issue 2407683002: PDF: Check the loaded URL in sendScriptingMessage_(). (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index 4d17a403b184ebfa856c76a384a5f9de49319e6f..a7cb2da95c7f98455815657d72363ff2a4aa70be 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -159,6 +159,9 @@ class PDFEngine {
// Notifies the client that the engine has painted a page from the document.
virtual void DocumentPaintOccurred() = 0;
+ // Notifies the client that the document at |url| loaded.
+ virtual void OnGotActualURL(const std::string& url) = 0;
+
// Notifies the client that the document has finished loading.
virtual void DocumentLoadComplete(int page_count) = 0;

Powered by Google App Engine
This is Rietveld 408576698