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

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

Issue 5875005: Cleanup: Remove unneeded includes of notification_service.h.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: put includes in right order Created 10 years 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
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_details.h"
18 #include "chrome/common/notification_source.h"
18 #include "chrome/common/render_messages_params.h" 19 #include "chrome/common/render_messages_params.h"
19 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
20 #include "printing/native_metafile.h" 21 #include "printing/native_metafile.h"
21 #include "printing/printed_document.h" 22 #include "printing/printed_document.h"
22 23
23 using base::TimeDelta; 24 using base::TimeDelta;
24 25
25 namespace printing { 26 namespace printing {
26 27
27 PrintViewManager::PrintViewManager(TabContents& owner) 28 PrintViewManager::PrintViewManager(TabContents& owner)
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 return false; 405 return false;
405 } 406 }
406 407
407 // Settings are already loaded. Go ahead. This will set 408 // Settings are already loaded. Go ahead. This will set
408 // print_job_->is_job_pending() to true. 409 // print_job_->is_job_pending() to true.
409 print_job_->StartPrinting(); 410 print_job_->StartPrinting();
410 return true; 411 return true;
411 } 412 }
412 413
413 } // namespace printing 414 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_preview_tab_controller.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698