| Index: chrome/browser/ui/webui/print_preview/print_preview_ui.h
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
|
| index 51fdd021cc644071766202c059e76f9dd5e59711..1cd81e397290f012d88f5036721001ada00acf07 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
|
| @@ -53,9 +53,9 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
|
| int GetAvailableDraftPageCount();
|
|
|
| // Setters
|
| - void SetInitiatorTabTitle(const string16& initiator_tab_title);
|
| + void SetInitiatorTitle(const string16& initiator_title);
|
|
|
| - string16 initiator_tab_title() { return initiator_tab_title_; }
|
| + string16 initiator_title() { return initiator_title_; }
|
|
|
| bool source_is_modifiable() { return source_is_modifiable_; }
|
|
|
| @@ -109,8 +109,8 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
|
| 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 tab before the association
|
| - // is erased.
|
| + // last chance to communicate with the initiator before the association is
|
| + // erased.
|
| void OnPrintPreviewDialogDestroyed();
|
|
|
| // Notifies the Web UI that the print preview failed to render.
|
| @@ -120,9 +120,9 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
|
| // closed, which may occur for several reasons, e.g. tab closure or crash.
|
| void OnPrintPreviewDialogClosed();
|
|
|
| - // 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 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 renderer that file selection has been cancelled.
|
| void OnFileSelectionCancelled();
|
| @@ -181,9 +181,9 @@ class PrintPreviewUI : public ConstrainedWebDialogUI {
|
| // Indicates whether only the selection should be printed.
|
| bool print_selection_only_;
|
|
|
| - // Store the initiator tab title, used for populating the print preview dialog
|
| + // Store the initiator title, used for populating the print preview dialog
|
| // title.
|
| - string16 initiator_tab_title_;
|
| + string16 initiator_title_;
|
|
|
| // Keeps track of whether OnClosePrintPreviewDialog() has been called or not.
|
| bool dialog_closed_;
|
|
|