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

Unified Diff: pdf/pdfium/pdfium_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
Index: pdf/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index c8ee6bdb4cb7030edfe5d57411fc4419d1c3e2e7..4cf49cd248b3d044ea1425a7e4323da3a7f0bb30 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -99,6 +99,7 @@ class PDFiumEngine : public PDFEngine,
virtual pp::Point GetScrollPosition();
virtual void SetScrollPosition(const pp::Point& position);
virtual bool IsProgressiveLoad();
+ virtual std::string GetMetadata(const std::string& key);
// DocumentLoader::Client implementation.
virtual pp::Instance* GetPluginInstance();

Powered by Google App Engine
This is Rietveld 408576698