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

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

Issue 17500003: Close web contents modal dialogs on content load start (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compilation fixes, change "inhibit" variable names 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: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 6dde25d0e187731ae6af2e9eb6cf4f23dde95866..36ec0a9bd616f557d2970165cd902c8da2b49bb6 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -182,8 +182,8 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// Asks the browser to show the cloud print dialog.
void PrintWithCloudPrintDialog();
- // Gets the initiator tab for the print preview dialog.
- content::WebContents* GetInitiatorTab() const;
+ // Gets the initiator for the print preview dialog.
+ content::WebContents* GetInitiator() const;
// Closes the preview dialog.
void ClosePreviewDialog();
@@ -191,8 +191,8 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// Adds all the recorded stats taken so far to histogram counts.
void ReportStats();
- // Clears initiator tab details for the print preview dialog.
- void ClearInitiatorTabDetails();
+ // Clears initiator details for the print preview dialog.
+ void ClearInitiatorDetails();
// Posts a task to save |data| to pdf at |print_to_pdf_path_|.
void PostPrintToPdfTask();

Powered by Google App Engine
This is Rietveld 408576698