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

Unified Diff: chrome/browser/printing/print_preview_dialog_controller.h

Issue 1125343004: Add a "Simplify Page" option to the print preview dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More refactors and remove tab_helpers dependency Created 5 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/printing/print_preview_dialog_controller.h
diff --git a/chrome/browser/printing/print_preview_dialog_controller.h b/chrome/browser/printing/print_preview_dialog_controller.h
index 493e1c2e591e5127ec80cacf56edcf11ac7f493b..ad95403445125db8f1da69d491b12bc537f1ee4e 100644
--- a/chrome/browser/printing/print_preview_dialog_controller.h
+++ b/chrome/browser/printing/print_preview_dialog_controller.h
@@ -79,6 +79,11 @@ class PrintPreviewDialogController
return is_creating_print_preview_dialog_;
}
+ void AddProxyDialogForWebContents(content::WebContents* source,
+ content::WebContents* target);
+
+ void RemoveProxyDialogForWebContents(content::WebContents* source);
+
private:
friend class base::RefCounted<PrintPreviewDialogController>;
@@ -122,6 +127,8 @@ class PrintPreviewDialogController
// Mapping between print preview dialog and the corresponding initiator.
PrintPreviewDialogMap preview_dialog_map_;
+ PrintPreviewDialogMap proxied_dialog_map_;
+
// A registrar for listening to notifications.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698