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

Unified Diff: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 21372006: Revert 212329 "Reland "Close web contents modal dialogs on conte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 months 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: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h
===================================================================
--- trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (revision 214772)
+++ trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (working copy)
@@ -182,8 +182,8 @@
// Asks the browser to show the cloud print dialog.
void PrintWithCloudPrintDialog();
- // Gets the initiator for the print preview dialog.
- content::WebContents* GetInitiator() const;
+ // Gets the initiator tab for the print preview dialog.
+ content::WebContents* GetInitiatorTab() const;
// Closes the preview dialog.
void ClosePreviewDialog();
@@ -191,8 +191,8 @@
// Adds all the recorded stats taken so far to histogram counts.
void ReportStats();
- // Clears initiator details for the print preview dialog.
- void ClearInitiatorDetails();
+ // Clears initiator tab details for the print preview dialog.
+ void ClearInitiatorTabDetails();
// Posts a task to save |data| to pdf at |print_to_pdf_path_|.
void PostPrintToPdfTask();

Powered by Google App Engine
This is Rietveld 408576698