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

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

Issue 10870073: Change how NavigationController reloads transient entries (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove outdated comment Created 8 years, 4 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/browser_commands.cc
===================================================================
--- chrome/browser/ui/browser_commands.cc (revision 153076)
+++ chrome/browser/ui/browser_commands.cc (working copy)
@@ -118,17 +118,6 @@
void ReloadInternal(Browser* browser,
WindowOpenDisposition disposition,
bool ignore_cache) {
- // If we are showing an interstitial, treat this as an OpenURL.
- WebContents* current_tab = GetActiveWebContents(browser);
- if (current_tab && current_tab->ShowingInterstitialPage()) {
- NavigationEntry* entry = current_tab->GetController().GetActiveEntry();
- DCHECK(entry); // Should exist if interstitial is showing.
- browser->OpenURL(OpenURLParams(
- entry->GetURL(), Referrer(), disposition,
- content::PAGE_TRANSITION_RELOAD, false));
- return;
- }
-
// As this is caused by a user action, give the focus to the page.
//
// Also notify RenderViewHostDelegate of the user gesture; this is

Powered by Google App Engine
This is Rietveld 408576698