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

Unified Diff: pdf/preview_mode_client.cc

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
« pdf/document_loader.cc ('K') | « pdf/preview_mode_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/preview_mode_client.cc
diff --git a/pdf/preview_mode_client.cc b/pdf/preview_mode_client.cc
index a371b08b591505ee3b1c2699bc4bf548de9d18b7..f99f386a02bf4dd35b82f5e8d34c074a3201db94 100644
--- a/pdf/preview_mode_client.cc
+++ b/pdf/preview_mode_client.cc
@@ -129,6 +129,8 @@ void PreviewModeClient::DocumentPaintOccurred() {
NOTREACHED();
}
+void PreviewModeClient::OnGotActualURL(const std::string& url) {}
+
void PreviewModeClient::DocumentLoadComplete(int page_count) {
client_->PreviewDocumentLoadComplete();
}
« pdf/document_loader.cc ('K') | « pdf/preview_mode_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698