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

Unified Diff: pdf/out_of_process_instance.h

Issue 2486683002: Improve print preview checks in the PDF plugin (Closed)
Patch Set: Improve print preview checks in the PDF plugin Created 4 years, 1 month 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') | pdf/out_of_process_instance.cc » ('J')
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 e2c0eacfde32047075967512fa26b1ca9d860d0a..6b22f7a905fd402b1eb5669ca9c23919ba1daf8c 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -371,6 +371,9 @@ class OutOfProcessInstance : public pp::Instance,
ACCESSIBILITY_STATE_LOADED
} accessibility_state_;
+ // True if the plugin is loaded in print preview, otherwise false.
+ bool is_print_preview_;
+
DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance);
};
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | pdf/out_of_process_instance.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698