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

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

Issue 7647010: Print preview page selection should not require a rerendering of draft pages. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 4 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/print_preview_data_service.h
diff --git a/chrome/browser/printing/print_preview_data_service.h b/chrome/browser/printing/print_preview_data_service.h
index 2e94393a9268946b0242a963ec3f64f847f1003c..187051f30d1d5f01d578928486c888aab4227359 100644
--- a/chrome/browser/printing/print_preview_data_service.h
+++ b/chrome/browser/printing/print_preview_data_service.h
@@ -40,6 +40,10 @@ class PrintPreviewDataService {
// Remove the corresponding PrintPreviewUI entry from the map.
void RemoveEntry(const std::string& preview_ui_addr_str);
+ // Returns true if all the individual preview pages are available.
+ bool IsDraftPagesAvailable(const std::string& preview_ui_addr_str,
vandebo (ex-Chrome) 2011/08/29 18:21:56 This API is pretty fragile, you only get the right
kmadhusu 2011/08/30 17:27:00 Done.
+ int draft_page_count);
+
private:
friend struct DefaultSingletonTraits<PrintPreviewDataService>;

Powered by Google App Engine
This is Rietveld 408576698