Chromium Code Reviews| 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 1a354e48cc7cd13fd19890af55abffdf2391f99e..70e5a1de40ba4c0156384d2e004b72629aa1ad3e 100644 |
| --- a/chrome/browser/ui/webui/print_preview_handler.h |
| +++ b/chrome/browser/ui/webui/print_preview_handler.h |
| @@ -50,7 +50,7 @@ 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(); |
|
Lei Zhang
2011/08/11 01:30:51
Based on the comment, shouldn't this be renamed to
kmadhusu
2011/08/15 18:12:49
Fixed.
|
| @@ -100,6 +100,9 @@ class PrintPreviewHandler : public WebUIMessageHandler, |
| // |args| is unused. |
| void HandleManageCloudPrint(const base::ListValue* args); |
| + // Reloads the initiator tab and closes the associated preview tab. |
| + void HandleReloadCrashedInitiatorTab(const base::ListValue* args); |
| + |
| // Ask the browser to show the native printer management dialog. |
| // |args| is unused. |
| void HandleManagePrinters(const base::ListValue* args); |