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

Unified Diff: pdf/out_of_process_instance.h

Issue 1255403002: Add a scroll offset to PDF documents to account for the top material design toolbar. (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
« no previous file with comments | « chrome/test/data/pdf/viewport_test.js ('k') | 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 8a3de66e2e7ba476607dcea2ac0c613371e1811e..1215f192bcf34c8c94220a8bcf9944676bcd8842 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -333,6 +333,10 @@ class OutOfProcessInstance : public pp::Instance,
// The background color of the PDF viewer.
uint32 background_color_;
+ // The blank space above the first page of the document reserved for the
+ // toolbar.
+ int top_toolbar_height_;
+
DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
};
« no previous file with comments | « chrome/test/data/pdf/viewport_test.js ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698