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

Unified Diff: chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc
===================================================================
--- chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc (revision 145001)
+++ chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc (working copy)
@@ -7,6 +7,7 @@
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_dialogs.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/chrome_pages.h"
// The URL for when the user clicks "learn more" on the mixed scripting page
@@ -34,7 +35,7 @@
// blocking, so bounce to an explanatory page for now.
GURL url(google_util::AppendGoogleLocaleParam(
GURL(kInsecureScriptHelpUrl)));
- browser_->AddSelectedTabWithURL(url, content::PAGE_TRANSITION_LINK);
+ chrome::AddSelectedTabWithURL(browser_, url, content::PAGE_TRANSITION_LINK);
} else {
chrome::ShowContentSettings(browser_, type);
}
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698