Index: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/webui/print_preview/print_preview_ui.h (revision 214772) |
+++ trunk/src/chrome/browser/ui/webui/print_preview/print_preview_ui.h (working copy) |
@@ -53,9 +53,9 @@ |
int GetAvailableDraftPageCount(); |
// Setters |
- void SetInitiatorTitle(const string16& initiator_title); |
+ void SetInitiatorTabTitle(const string16& initiator_tab_title); |
- string16 initiator_title() { return initiator_title_; } |
+ string16 initiator_tab_title() { return initiator_tab_title_; } |
bool source_is_modifiable() { return source_is_modifiable_; } |
@@ -109,8 +109,8 @@ |
void OnReusePreviewData(int preview_request_id); |
// Notifies the Web UI that preview dialog has been destroyed. This is the |
- // last chance to communicate with the initiator before the association is |
- // erased. |
+ // last chance to communicate with the initiator tab before the association |
+ // is erased. |
void OnPrintPreviewDialogDestroyed(); |
// Notifies the Web UI that the print preview failed to render. |
@@ -120,9 +120,9 @@ |
// closed, which may occur for several reasons, e.g. tab closure or crash. |
void OnPrintPreviewDialogClosed(); |
- // Notifies the Web UI that initiator is closed, so we can disable all the |
- // controls that need the initiator for generating the preview data. |
- void OnInitiatorClosed(); |
+ // Notifies the Web UI that initiator tab is closed, so we can disable all the |
+ // controls that need the initiator tab for generating the preview data. |
+ void OnInitiatorTabClosed(); |
// Notifies the Web UI renderer that file selection has been cancelled. |
void OnFileSelectionCancelled(); |
@@ -181,9 +181,9 @@ |
// Indicates whether only the selection should be printed. |
bool print_selection_only_; |
- // Store the initiator title, used for populating the print preview dialog |
+ // Store the initiator tab title, used for populating the print preview dialog |
// title. |
- string16 initiator_title_; |
+ string16 initiator_tab_title_; |
// Keeps track of whether OnClosePrintPreviewDialog() has been called or not. |
bool dialog_closed_; |