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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 8588039: Remove "open in new tab" items from context menu if the process doesn't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 112335)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -146,8 +146,11 @@
net_log_.reset(new ChromeNetLog);
- ChildProcessSecurityPolicy::GetInstance()->RegisterWebSafeScheme(
- chrome::kExtensionScheme);
+ ChildProcessSecurityPolicy* policy =
+ ChildProcessSecurityPolicy::GetInstance();
+ policy->RegisterWebSafeScheme(chrome::kExtensionScheme);
+ policy->RegisterWebSafeScheme(chrome::kChromeDevToolsScheme);
abarth-chromium 2011/12/01 00:22:35 Why is dev tools web-safe? You shouldn't be able
Tom Sepez 2011/12/01 00:43:36 Looks like this is in response to breaking the dev
+ policy->RegisterPseudoScheme(chrome::kChromeUIScheme);
abarth-chromium 2011/12/01 00:22:35 Why is ChromeUIScheme a pseudo scheme? That doesn
Tom Sepez 2011/12/01 00:43:36 This has to do with ChildProcessSecurityPolicy::Ca
extension_event_router_forwarder_ = new ExtensionEventRouterForwarder;
« no previous file with comments | « no previous file | chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698