Chromium Code Reviews| Index: chrome/renderer/print_web_view_helper.h |
| diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h |
| index 596740c5ae6d28144289579ebbf507ba3aee9da6..e7c2c80b4dced197efcc2a76fffbbd4f6eadd05e 100644 |
| --- a/chrome/renderer/print_web_view_helper.h |
| +++ b/chrome/renderer/print_web_view_helper.h |
| @@ -241,6 +241,12 @@ class PrintWebViewHelper : public RenderViewObserver , |
| int user_cancelled_scripted_print_count_; |
| bool is_preview_; |
| + // For preview printing, |job_title_| is initiator tab title. Print view |
| + // manager will use this value to set the print job name. |
| + // For normal printing, |job_title_| is empty. Print view manager will use |
| + // the current tab title as print job name. |
|
stuartmorgan
2011/03/30 22:59:17
Again, too much detail for a header.
|
| + string16 job_title_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
| }; |