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

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

Issue 12250008: Cleanup: Remove more uses of deprecated PrintPreviewDialogController methods. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_dialog_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_dialog_controller.h
===================================================================
--- chrome/browser/printing/print_preview_dialog_controller.h (revision 181939)
+++ chrome/browser/printing/print_preview_dialog_controller.h (working copy)
@@ -52,21 +52,12 @@
content::WebContents* GetOrCreatePreviewDialog(
content::WebContents* initiator_tab);
- // DEPRECATED. Use GetOrCreatePreviewDialog() instead.
- // TODO(thestig) Remove.
- content::WebContents* GetOrCreatePreviewTab(
- content::WebContents* initiator_tab);
-
// Returns the preview dialog for |contents|.
// Returns |contents| if |contents| is a preview dialog.
// Returns NULL if no preview dialog exists for |contents|.
content::WebContents* GetPrintPreviewForContents(
content::WebContents* contents) const;
- // DEPRECATED. Use GetPrintPreviewForContents() instead.
- // TODO(thestig) Remove.
- content::WebContents* GetPrintPreviewForTab(content::WebContents* tab) const;
-
// Returns initiator tab for |preview_tab|.
// Returns NULL if no initiator tab exists for |preview_tab|.
content::WebContents* GetInitiatorTab(content::WebContents* preview_tab);
@@ -79,10 +70,6 @@
// Returns true if |contents| is a print preview dialog.
static bool IsPrintPreviewDialog(content::WebContents* contents);
- // DEPRECATED. Use IsPrintPreviewDialog() instead.
- // TODO(thestig) Remove.
- static bool IsPrintPreviewTab(content::WebContents* tab);
-
// Returns true if |url| is a print preview url.
static bool IsPrintPreviewURL(const GURL& url);
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_dialog_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698