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

Unified Diff: pdf/pdf_engine.h

Issue 1303103003: PDF: Use PDF metadata for the title instead of the last path element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « pdf/out_of_process_instance.cc ('k') | pdf/pdfium/pdfium_api_string_buffer_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index 24c69b56c82f9b0a730b2c6e5fb989ee25ad0aa6..69761a16b76cd691ba7727d79f6366b6260e26ea 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -279,6 +279,8 @@ class PDFEngine {
virtual void SetScrollPosition(const pp::Point& position) = 0;
virtual bool IsProgressiveLoad() = 0;
+
+ virtual std::string GetMetadata(const std::string& key) = 0;
};
// Interface for exports that wrap the PDF engine.
« no previous file with comments | « pdf/out_of_process_instance.cc ('k') | pdf/pdfium/pdfium_api_string_buffer_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698