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

Unified Diff: chrome/browser/printing/background_printing_manager.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/background_printing_manager.h
diff --git a/chrome/browser/printing/background_printing_manager.h b/chrome/browser/printing/background_printing_manager.h
index 4d2175b5f01b82ca74e92da3edc1c55b0e1cbb01..0f4a8305df8f081bf42c4786f71fa269bff83e09 100644
--- a/chrome/browser/printing/background_printing_manager.h
+++ b/chrome/browser/printing/background_printing_manager.h
@@ -36,6 +36,9 @@ class BackgroundPrintingManager
std::set<TabContentsWrapper*>::const_iterator begin();
std::set<TabContentsWrapper*>::const_iterator end();
+ // Returns true if |printing_contents_| contains |entry|.
+ bool hasTabContents(TabContentsWrapper* entry);
Lei Zhang 2011/06/09 21:03:27 nit: hasTabContents -> HasTabContents
kmadhusu 2011/06/09 21:27:11 Done.
+
// NotificationObserver overrides:
virtual void Observe(NotificationType type,
const NotificationSource& source,
« no previous file with comments | « no previous file | chrome/browser/printing/background_printing_manager.cc » ('j') | chrome/browser/resources/print_preview.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698