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

Unified Diff: chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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/html_dialog_tab_contents_delegate.cc
diff --git a/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc b/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc
index 2bc1ef0621a7fcf2f5f0344beb18209ac26ecca4..c608471337850ab598bd98b14b548d9063618799 100644
--- a/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc
+++ b/chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc
@@ -28,15 +28,6 @@ void HtmlDialogTabContentsDelegate::Detach() {
profile_ = NULL;
}
-// TODO(adriansc): Remove this method once refactoring changed all call sites.
-TabContents* HtmlDialogTabContentsDelegate::OpenURLFromTab(
- TabContents* source, const GURL& url, const GURL& referrer,
- WindowOpenDisposition disposition, content::PageTransition transition) {
- return OpenURLFromTab(source,
- OpenURLParams(url, referrer, disposition, transition,
- false));
-}
-
TabContents* HtmlDialogTabContentsDelegate::OpenURLFromTab(
TabContents* source, const OpenURLParams& params) {
if (profile_) {

Powered by Google App Engine
This is Rietveld 408576698