| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 // Allows injecting extensions and user scripts on the extensions | 31 // Allows injecting extensions and user scripts on the extensions |
| 32 // gallery site. Normally prevented for security reasons, but can be | 32 // gallery site. Normally prevented for security reasons, but can be |
| 33 // useful for automation testing of the gallery. | 33 // useful for automation testing of the gallery. |
| 34 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; | 34 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; |
| 35 | 35 |
| 36 // Specifies comma separated list of extension ids to grant access to local | 36 // Specifies comma separated list of extension ids to grant access to local |
| 37 // websocket proxy. | 37 // websocket proxy. |
| 38 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; | 38 const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; |
| 39 | 39 |
| 40 // Allow compositing on chrome:// pages. |
| 41 const char kAllowWebUICompositing[] = "allow-webui-compositing"; |
| 42 |
| 40 // Allows WebUI based OOBE. Note, WebUI will be used iff kWebUILogin is also | 43 // Allows WebUI based OOBE. Note, WebUI will be used iff kWebUILogin is also |
| 41 // true. | 44 // true. |
| 42 const char kAllowWebUIOobe[] = "allow-webui-oobe"; | 45 const char kAllowWebUIOobe[] = "allow-webui-oobe"; |
| 43 | 46 |
| 44 // This prevents Chrome from requiring authorization to run certain widely | 47 // This prevents Chrome from requiring authorization to run certain widely |
| 45 // installed but less commonly used plug-ins. | 48 // installed but less commonly used plug-ins. |
| 46 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 49 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
| 47 | 50 |
| 48 // Enable web inspector for all windows, even if they're part of the browser. | 51 // Enable web inspector for all windows, even if they're part of the browser. |
| 49 // Allows us to use our dev tools to debug browser windows itself. | 52 // Allows us to use our dev tools to debug browser windows itself. |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 | 1242 |
| 1240 // ----------------------------------------------------------------------------- | 1243 // ----------------------------------------------------------------------------- |
| 1241 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1244 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1242 // | 1245 // |
| 1243 // You were going to just dump your switches here, weren't you? Instead, | 1246 // You were going to just dump your switches here, weren't you? Instead, |
| 1244 // please put them in alphabetical order above, or in order inside the | 1247 // please put them in alphabetical order above, or in order inside the |
| 1245 // appropriate ifdef at the bottom. The order should match the header. | 1248 // appropriate ifdef at the bottom. The order should match the header. |
| 1246 // ----------------------------------------------------------------------------- | 1249 // ----------------------------------------------------------------------------- |
| 1247 | 1250 |
| 1248 } // namespace switches | 1251 } // namespace switches |
| OLD | NEW |