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

Unified Diff: pdf/instance.h

Issue 420063002: OOP PDF - Add support for "zoom" open pdf parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | pdf/instance.cc » ('j') | pdf/instance.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/instance.h
diff --git a/pdf/instance.h b/pdf/instance.h
index c377b032c0f69c5490bbb58e89a1e5af72b44f20..8b624fb2f456f844e35e009bad5f5fa9fec0165a 100644
--- a/pdf/instance.h
+++ b/pdf/instance.h
@@ -255,6 +255,10 @@ class Instance : public pp::InstancePrivate,
// frame's origin.
pp::URLLoader CreateURLLoaderInternal();
+ // Handle open pdf parameters.
+ void HandleOpenParameters(const std::string& url);
+ void HandleZoomParameter(const std::string& value);
+
// Figure out the initial page to display based on #page=N and #nameddest=foo
// in the |url_|.
// Returns -1 if there is no valid fragment. The returned value is 0-based,
« no previous file with comments | « no previous file | pdf/instance.cc » ('j') | pdf/instance.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698