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

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

Issue 7056070: PrintPreview: Preview generation should not block print button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/background_printing_manager.h" 5 #include "chrome/browser/printing/background_printing_manager.h"
6 6
7 #include "chrome/browser/printing/print_job.h" 7 #include "chrome/browser/printing/print_job.h"
8 #include "chrome/browser/printing/print_preview_tab_controller.h" 8 #include "chrome/browser/printing/print_preview_tab_controller.h"
9 #include "chrome/browser/tabs/tab_strip_model.h" 9 #include "chrome/browser/tabs/tab_strip_model.h"
10 #include "chrome/browser/ui/browser_list.h" 10 #include "chrome/browser/ui/browser_list.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 std::set<TabContentsWrapper*>::const_iterator 91 std::set<TabContentsWrapper*>::const_iterator
92 BackgroundPrintingManager::begin() { 92 BackgroundPrintingManager::begin() {
93 return printing_contents_.begin(); 93 return printing_contents_.begin();
94 } 94 }
95 95
96 std::set<TabContentsWrapper*>::const_iterator 96 std::set<TabContentsWrapper*>::const_iterator
97 BackgroundPrintingManager::end() { 97 BackgroundPrintingManager::end() {
98 return printing_contents_.end(); 98 return printing_contents_.end();
99 } 99 }
100 100
101 bool BackgroundPrintingManager::HasTabContents(TabContentsWrapper* entry) {
102 return printing_contents_.find(entry) != printing_contents_.end();
103 }
104
101 } // namespace printing 105 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/background_printing_manager.h ('k') | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698