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

Unified Diff: pdf/pdf_engine.h

Issue 2127383002: Open hyperlinks in PDF in a new tab when middle mouse clicking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Open hyperlinks in PDF in a new tab when middle mouse clicking. Created 4 years, 5 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 5bba8b9f86061216229b6d582e3f8722ed840e9d..e751432fd560fff4fa5e3f24b65f6fd1509f4794 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -295,6 +295,9 @@ class PDFEngine {
virtual bool IsProgressiveLoad() = 0;
virtual std::string GetMetadata(const std::string& key) = 0;
+
+ // Get a list of rects of links in the most visible page.
+ virtual std::vector<pp::Rect> GetLinkRects() = 0;
};
// Interface for exports that wrap the PDF engine.

Powered by Google App Engine
This is Rietveld 408576698