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

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 views compile, no need to delete extra mac menu items cuz not using browser command updater any… 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
Index: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 6049b937e52e1d03e6722598a6afe29a362e6fad..af2d1dc952d185232272062b770e55f8af432cdd 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -402,16 +402,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)

Powered by Google App Engine
This is Rietveld 408576698