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

Side by Side Diff: chrome/renderer/printing/print_web_view_helper.h

Issue 26558003: Removed old_print_pages_params_ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ 5 #ifndef CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_
6 #define CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ 6 #define CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 int user_cancelled_scripted_print_count_; 356 int user_cancelled_scripted_print_count_;
357 bool is_scripted_printing_blocked_; 357 bool is_scripted_printing_blocked_;
358 358
359 // Let the browser process know of a printing failure. Only set to false when 359 // Let the browser process know of a printing failure. Only set to false when
360 // the failure came from the browser in the first place. 360 // the failure came from the browser in the first place.
361 bool notify_browser_of_print_failure_; 361 bool notify_browser_of_print_failure_;
362 362
363 // True, when printing from print preview. 363 // True, when printing from print preview.
364 bool print_for_preview_; 364 bool print_for_preview_;
365 365
366 scoped_ptr<PrintMsg_PrintPages_Params> old_print_pages_params_;
367
368 // Strings generated by the browser process to be printed as headers and 366 // Strings generated by the browser process to be printed as headers and
369 // footers if requested by the user. 367 // footers if requested by the user.
370 scoped_ptr<base::DictionaryValue> header_footer_info_; 368 scoped_ptr<base::DictionaryValue> header_footer_info_;
371 369
372 // Keeps track of the state of print preview between messages. 370 // Keeps track of the state of print preview between messages.
373 // TODO(vitalybuka): Create PrintPreviewContext when needed and delete after 371 // TODO(vitalybuka): Create PrintPreviewContext when needed and delete after
374 // use. Now it's interaction with various messages is confusing. 372 // use. Now it's interaction with various messages is confusing.
375 class PrintPreviewContext { 373 class PrintPreviewContext {
376 public: 374 public:
377 PrintPreviewContext(); 375 PrintPreviewContext();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 PrintPreviewContext print_preview_context_; 480 PrintPreviewContext print_preview_context_;
483 bool is_loading_; 481 bool is_loading_;
484 bool is_scripted_preview_delayed_; 482 bool is_scripted_preview_delayed_;
485 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; 483 base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_;
486 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); 484 DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
487 }; 485 };
488 486
489 } // namespace printing 487 } // namespace printing
490 488
491 #endif // CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_ 489 #endif // CHROME_RENDERER_PRINTING_PRINT_WEB_VIEW_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698