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

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

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 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.cc ('k') | chrome/browser/ui/browser_navigator_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index efaadeef7ff22a609251a5417bbc2913d03bbef2..540ca009a41097e47f095167719dd0db3f88a8a0 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -405,16 +405,6 @@ void Navigate(NavigateParams* params) {
params->window_bounds);
}
- // Adjust disposition for the navigation happending in the sad page of the
- // panel window.
- if (params->source_contents &&
- params->source_contents->web_contents()->IsCrashed() &&
- params->disposition == CURRENT_TAB &&
- params->browser &&
- params->browser->is_type_panel()) {
- params->disposition = NEW_FOREGROUND_TAB;
- }
-
params->browser = GetBrowserForDisposition(params);
if (!params->browser)
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_navigator_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698