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

Unified Diff: pdf/out_of_process_instance.h

Issue 685923002: Support non-integer scroll offsets being passed to the PDF plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index 355f050dc3fd2709d7f5d0321f95903611141267..050f3617b55ee33b9ec8d7aa275f27eb4aa7672b 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -205,7 +205,8 @@ class OutOfProcessInstance : public pp::Instance,
void LoadAvailablePreviewPage();
// Bound the given scroll offset to the document.
- pp::Point BoundScrollOffsetToDocument(const pp::Point& scroll_offset);
+ pp::FloatPoint BoundScrollOffsetToDocument(
+ const pp::FloatPoint& scroll_offset);
pp::ImageData image_data_;
// Used when the plugin is embedded in a page and we have to create the loader
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698