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

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

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
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 "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/navigation_entry.h" 8 #include "chrome/browser/navigation_entry.h"
9 #include "chrome/browser/printing/print_job.h" 9 #include "chrome/browser/printing/print_job.h"
10 #include "chrome/browser/printing/print_job_manager.h" 10 #include "chrome/browser/printing/print_job_manager.h"
11 #include "chrome/browser/printing/printed_document.h" 11 #include "chrome/browser/printing/printed_document.h"
12 #include "chrome/browser/printing/printer_query.h" 12 #include "chrome/browser/printing/printer_query.h"
13 #include "chrome/browser/render_view_host.h" 13 #include "chrome/browser/render_view_host.h"
14 #include "chrome/browser/web_contents.h" 14 #include "chrome/browser/web_contents.h"
15 #include "chrome/common/gfx/emf.h" 15 #include "chrome/common/gfx/emf.h"
16 #include "chrome/common/l10n_util.h" 16 #include "chrome/common/l10n_util.h"
17 17
18 #include "generated_resources.h" 18 #include "generated_resources.h"
19 19
20 using base::TimeDelta;
21
20 namespace printing { 22 namespace printing {
21 23
22 PrintViewManager::PrintViewManager(WebContents& owner) 24 PrintViewManager::PrintViewManager(WebContents& owner)
23 : owner_(owner), 25 : owner_(owner),
24 waiting_to_print_(false), 26 waiting_to_print_(false),
25 inside_inner_message_loop_(false), 27 inside_inner_message_loop_(false),
26 waiting_to_show_print_dialog_(false) { 28 waiting_to_show_print_dialog_(false) {
27 memset(&print_params_, 0, sizeof(print_params_)); 29 memset(&print_params_, 0, sizeof(print_params_));
28 } 30 }
29 31
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 } 542 }
541 543
542 // Settings are already loaded. Go ahead. This will set 544 // Settings are already loaded. Go ahead. This will set
543 // print_job_->is_job_pending() to true. 545 // print_job_->is_job_pending() to true.
544 print_job_->StartPrinting(); 546 print_job_->StartPrinting();
545 return true; 547 return true;
546 } 548 }
547 549
548 } // namespace printing 550 } // namespace printing
549 551
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698