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

Side by Side Diff: chrome/browser/printing/print_view_manager.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/printing/print_view_manager.h" 5 #include "chrome/browser/printing/print_view_manager.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/printing/print_job.h" 11 #include "chrome/browser/printing/print_job.h"
12 #include "chrome/browser/printing/print_job_manager.h" 12 #include "chrome/browser/printing/print_job_manager.h"
13 #include "chrome/browser/printing/printer_query.h" 13 #include "chrome/browser/printing/printer_query.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 14 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/navigation_entry.h" 15 #include "chrome/browser/tab_contents/navigation_entry.h"
16 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
17 #include "chrome/common/notification_service.h" 17 #include "chrome/common/notification_service.h"
18 #include "chrome/common/render_messages.h" 18 #include "chrome/common/render_messages_params.h"
19 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
20 #include "printing/native_metafile.h" 20 #include "printing/native_metafile.h"
21 #include "printing/printed_document.h" 21 #include "printing/printed_document.h"
22 22
23 using base::TimeDelta; 23 using base::TimeDelta;
24 24
25 namespace printing { 25 namespace printing {
26 26
27 PrintViewManager::PrintViewManager(TabContents& owner) 27 PrintViewManager::PrintViewManager(TabContents& owner)
28 : waiting_to_print_(false), 28 : waiting_to_print_(false),
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 return false; 415 return false;
416 } 416 }
417 417
418 // Settings are already loaded. Go ahead. This will set 418 // Settings are already loaded. Go ahead. This will set
419 // print_job_->is_job_pending() to true. 419 // print_job_->is_job_pending() to true.
420 print_job_->StartPrinting(); 420 print_job_->StartPrinting();
421 return true; 421 return true;
422 } 422 }
423 423
424 } // namespace printing 424 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/renderer_host/audio_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698