Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; | 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
| 12 | 12 |
| 13 // Specifies command-separated list of extension ids or hosts to grant | |
| 14 // access to GetOSFileHandle private API. | |
| 15 const char kAllowGetOSFileHandleAPI[] = "allow-get-os-file-handle-api"; | |
|
yzshen1
2013/03/27 20:47:58
optional: It seems good to have Nacl in the name:
hamaji
2013/03/28 00:17:29
Hmm actually, I intentionally removed NaCl from th
yzshen1
2013/03/28 20:59:49
Okay. :)
On 2013/03/28 00:17:29, hamaji wrote:
| |
| 16 | |
| 13 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 17 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 14 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 18 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 15 | 19 |
| 16 // Allow compositing on chrome:// pages. | 20 // Allow compositing on chrome:// pages. |
| 17 const char kAllowWebUICompositing[] = "allow-webui-compositing"; | 21 const char kAllowWebUICompositing[] = "allow-webui-compositing"; |
| 18 | 22 |
| 19 // Enumerates and prints a child process' most dangerous handles when it | 23 // Enumerates and prints a child process' most dangerous handles when it |
| 20 // is terminated. | 24 // is terminated. |
| 21 const char kAuditHandles[] = "enable-handle-auditing"; | 25 const char kAuditHandles[] = "enable-handle-auditing"; |
| 22 | 26 |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 766 | 770 |
| 767 // Use a vsync signal from the browser to the renderer to schedule rendering. | 771 // Use a vsync signal from the browser to the renderer to schedule rendering. |
| 768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 772 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
| 769 | 773 |
| 770 // Disables history navigation in response to horizontal overscroll. | 774 // Disables history navigation in response to horizontal overscroll. |
| 771 const char kDisableOverscrollHistoryNavigation[] = | 775 const char kDisableOverscrollHistoryNavigation[] = |
| 772 "disable-overscroll-history-navigation"; | 776 "disable-overscroll-history-navigation"; |
| 773 | 777 |
| 774 } // namespace switches | 778 } // namespace switches |
| OLD | NEW |