| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // Does chrome really need multiple memory models? No. But we get a lot | 246 // Does chrome really need multiple memory models? No. But we get a lot |
| 247 // of concerns from individuals about how the changes work on *their* | 247 // of concerns from individuals about how the changes work on *their* |
| 248 // system, and we need to be able to experiment with a few choices. | 248 // system, and we need to be able to experiment with a few choices. |
| 249 const wchar_t kMemoryModel[] = L"memory-model"; | 249 const wchar_t kMemoryModel[] = L"memory-model"; |
| 250 | 250 |
| 251 // By default, cookies are not allowed on file://. They are needed in for | 251 // By default, cookies are not allowed on file://. They are needed in for |
| 252 // testing, for example page cycler and layout tests. See bug 1157243. | 252 // testing, for example page cycler and layout tests. See bug 1157243. |
| 253 const wchar_t kEnableFileCookies[] = L"enable-file-cookies"; | 253 const wchar_t kEnableFileCookies[] = L"enable-file-cookies"; |
| 254 | 254 |
| 255 // Start the browser maximized, regardless of any previous settings. | 255 // Start the browser maximized, regardless of any previous settings. |
| 256 // TODO(pjohnson): Remove this once bug 1137420 is fixed. We are using this | |
| 257 // as a workaround for not being able to use moveTo and resizeTo on a | |
| 258 // top-level window. | |
| 259 const wchar_t kStartMaximized[] = L"start-maximized"; | 256 const wchar_t kStartMaximized[] = L"start-maximized"; |
| 260 | 257 |
| 261 // Spawn threads to watch for excessive delays in specified message loops. | 258 // Spawn threads to watch for excessive delays in specified message loops. |
| 262 // User should set breakpoints on Alarm() to examine problematic thread. | 259 // User should set breakpoints on Alarm() to examine problematic thread. |
| 263 // Usage: -enable-watchdog=[ui][io] | 260 // Usage: -enable-watchdog=[ui][io] |
| 264 // Order of the listed sub-arguments does not matter. | 261 // Order of the listed sub-arguments does not matter. |
| 265 const wchar_t kEnableWatchdog[] = L"enable-watchdog"; | 262 const wchar_t kEnableWatchdog[] = L"enable-watchdog"; |
| 266 | 263 |
| 267 // Display the First Run experience when the browser is started, regardless of | 264 // Display the First Run experience when the browser is started, regardless of |
| 268 // whether or not it's actually the first run. | 265 // whether or not it's actually the first run. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 // Enable new HTTP stack. | 312 // Enable new HTTP stack. |
| 316 const wchar_t kUseNewHttp[] = L"new-http"; | 313 const wchar_t kUseNewHttp[] = L"new-http"; |
| 317 | 314 |
| 318 // Allow loading of the javascript debugger UI from the filesystem. | 315 // Allow loading of the javascript debugger UI from the filesystem. |
| 319 const wchar_t kJavaScriptDebuggerPath[] = L"javascript-debugger-path"; | 316 const wchar_t kJavaScriptDebuggerPath[] = L"javascript-debugger-path"; |
| 320 | 317 |
| 321 const wchar_t kEnableP13n[] = L"enable-p13n"; | 318 const wchar_t kEnableP13n[] = L"enable-p13n"; |
| 322 | 319 |
| 323 } // namespace switches | 320 } // namespace switches |
| 324 | 321 |
| OLD | NEW |