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

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: Fixed comment 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..3642876365e6b8b3164193dac1a7ae48dbd3ec46 100644
--- a/chrome/browser/printing/print_preview_data_service.h
+++ b/chrome/browser/printing/print_preview_data_service.h
@@ -40,6 +40,9 @@ class PrintPreviewDataService {
// Remove the corresponding PrintPreviewUI entry from the map.
void RemoveEntry(const std::string& preview_ui_addr_str);
+ // Returns the available draft page count.
+ int GetAvailableDraftPageCount(const std::string& preview_ui_addr_str);
+
private:
friend struct DefaultSingletonTraits<PrintPreviewDataService>;
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_data_service.cc » ('j') | chrome/renderer/print_web_view_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698