| Index: chrome/browser/ui/webui/print_preview_handler.h
|
| diff --git a/chrome/browser/ui/webui/print_preview_handler.h b/chrome/browser/ui/webui/print_preview_handler.h
|
| index 9bdfba66d7c5d8652ee5b0b4241abca3af9141e2..ae2e960f853da0e67a733a01f6ad80a76ab55e7a 100644
|
| --- a/chrome/browser/ui/webui/print_preview_handler.h
|
| +++ b/chrome/browser/ui/webui/print_preview_handler.h
|
| @@ -50,10 +50,10 @@ class PrintPreviewHandler : public WebUIMessageHandler,
|
| // Displays a modal dialog, prompting the user to select a file.
|
| void SelectFile(const FilePath& default_path);
|
|
|
| - // Called when the print preview tab navigates. This is the last time this
|
| + // Called when the print preview tab is destroyed. This is the last time
|
| // this object has access to the PrintViewManager in order to disconnect the
|
| // observer.
|
| - void OnNavigation();
|
| + void OnTabDestroyed();
|
|
|
| private:
|
| friend class PrintSystemTaskProxy;
|
| @@ -97,6 +97,10 @@ class PrintPreviewHandler : public WebUIMessageHandler,
|
| // |args| is unused.
|
| void HandleManageCloudPrint(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.
|
| void HandleManagePrinters(const base::ListValue* args);
|
|
|