Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5229)

Unified Diff: chrome/browser/ui/webui/print_preview_handler.h

Issue 8564044: Revert 110056 - Print Preview: Make print preview tab modal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/ui/webui/print_preview_data_source.cc ('k') | chrome/browser/ui/webui/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698