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

Unified Diff: chrome/browser/dom_ui/dom_ui_factory.cc

Issue 6053012: This adds a "killed tab" page and pages reload when killed on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pre-review tweaks Created 9 years, 11 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/dom_ui/dom_ui_factory.cc
diff --git a/chrome/browser/dom_ui/dom_ui_factory.cc b/chrome/browser/dom_ui/dom_ui_factory.cc
index 6f7eaafbed98e2824c6a638e3887de4c6f53eea2..5312c56a6c5c55995d7b2e4394290a82e1c97be4 100644
--- a/chrome/browser/dom_ui/dom_ui_factory.cc
+++ b/chrome/browser/dom_ui/dom_ui_factory.cc
@@ -251,8 +251,9 @@ bool DOMUIFactory::IsURLAcceptableForDOMUI(Profile* profile, const GURL& url) {
// It's possible to load about:blank in a DOM UI renderer.
// See http://crbug.com/42547
url.spec() == chrome::kAboutBlankURL ||
- // about:crash, about:hang, and about:shorthang are allowed.
+ // about:crash, about:kill, about:hang, and about:shorthang are allowed.
url.spec() == chrome::kAboutCrashURL ||
+ url.spec() == chrome::kAboutKillURL ||
url.spec() == chrome::kAboutHangURL ||
url.spec() == chrome::kAboutShorthangURL;
}

Powered by Google App Engine
This is Rietveld 408576698