| Index: chrome/browser/ui/webui/print_preview_handler.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/print_preview_handler.h (revision 110058)
|
| +++ chrome/browser/ui/webui/print_preview_handler.h (working copy)
|
| @@ -124,9 +124,9 @@
|
| // |args| is unused.
|
| void HandleManageCloudPrint(const base::ListValue* args);
|
|
|
| - // Gathers UMA stats when the print preview tab is about to close.
|
| - // |args| is unused.
|
| - void HandleClosePreviewTab(const base::ListValue* args);
|
| + // Reloads the initiator tab and closes the associated preview tab. |args| is
|
| + // unused.
|
| + void HandleReloadCrashedInitiatorTab(const base::ListValue* args);
|
|
|
| // Asks the browser to show the native printer management dialog.
|
| // |args| is unused.
|
| @@ -135,6 +135,9 @@
|
| // Asks the browser to show the cloud print dialog.
|
| void HandlePrintWithCloudPrint();
|
|
|
| + // Asks the browser to close the preview tab. |args| is unused.
|
| + void HandleClosePreviewTab(const base::ListValue* args);
|
| +
|
| // Asks the browser for several settings that are needed before the first
|
| // preview is displayed.
|
| void HandleGetInitialSettings(const base::ListValue* args);
|
| @@ -160,12 +163,18 @@
|
| // Gets the initiator tab for the print preview tab.
|
| TabContentsWrapper* GetInitiatorTab() const;
|
|
|
| + // Closes the print preview tab.
|
| + void ClosePrintPreviewTab();
|
| +
|
| // Activates the initiator tab and close the preview tab.
|
| void ActivateInitiatorTabAndClosePreviewTab();
|
|
|
| // Adds all the recorded stats taken so far to histogram counts.
|
| void ReportStats();
|
|
|
| + // Hides the preview tab for printing.
|
| + void HidePreviewTab();
|
| +
|
| // Clears initiator tab details for this preview tab.
|
| void ClearInitiatorTabDetails();
|
|
|
|
|