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

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 2166193002: Handle ctrl + shift + left click on links in PDF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index e6392b4a482d433e56dbab35b45a9b770f5c6f8e..358440ff65b22c3890970534d87d73e3250cbce4 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -49,6 +49,13 @@ class PDFiumEngine : public PDFEngine,
explicit PDFiumEngine(PDFEngine::Client* client);
~PDFiumEngine() override;
+ enum NavigateOption {
dsinclair 2016/07/21 13:34:05 Can this be an enum class instead of a plain enum?
jaepark 2016/07/21 22:34:33 Done.
+ OPEN_IN_CURRENT_TAB = 0,
+ OPEN_IN_NEW_BACKGROUND_TAB,
+ OPEN_IN_NEW_FOREGROUND_TAB,
+ OPEN_IN_NEW_WINDOW
+ };
+
// PDFEngine implementation.
bool New(const char* url, const char* headers) override;
void PageOffsetUpdated(const pp::Point& page_offset) override;

Powered by Google App Engine
This is Rietveld 408576698