Index: chrome/browser/ui/webui/print_preview_ui.h |
=================================================================== |
--- chrome/browser/ui/webui/print_preview_ui.h (revision 92822) |
+++ chrome/browser/ui/webui/print_preview_ui.h (working copy) |
@@ -36,7 +36,7 @@ |
void OnPrintPreviewRequest(); |
// Notify the Web UI that the print preview will have |page_count| pages. |
- void OnDidGetPreviewPageCount(int page_count); |
+ void OnDidGetPreviewPageCount(int document_cookie_, int page_count); |
// Notify the Web UI that the 0-based page |page_number| has been rendered. |
void OnDidPreviewPage(int page_number); |
@@ -75,6 +75,8 @@ |
// Return true if there are pending requests. |
bool HasPendingRequests(); |
+ int document_cookie(); |
+ |
private: |
// Helper function |
PrintPreviewDataService* print_preview_data_service(); |
@@ -92,6 +94,9 @@ |
// The number of print preview requests in flight. |
uint32 request_count_; |
+ // Document cookie from the initiator renderer. |
+ int document_cookie_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); |
}; |