| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 const wchar_t kUninstall[] = L"uninstall"; | 192 const wchar_t kUninstall[] = L"uninstall"; |
| 193 | 193 |
| 194 // Number of entries to show in the omnibox popup. | 194 // Number of entries to show in the omnibox popup. |
| 195 const wchar_t kOmniBoxPopupCount[] = L"omnibox-popup-count"; | 195 const wchar_t kOmniBoxPopupCount[] = L"omnibox-popup-count"; |
| 196 | 196 |
| 197 // The value of this switch tells the app to listen for and broadcast | 197 // The value of this switch tells the app to listen for and broadcast |
| 198 // automation-related messages on IPC channel with the given ID. | 198 // automation-related messages on IPC channel with the given ID. |
| 199 const wchar_t kAutomationClientChannelID[] = L"automation-channel"; | 199 const wchar_t kAutomationClientChannelID[] = L"automation-channel"; |
| 200 | 200 |
| 201 // Indicates the last session should be restored on startup. This overrides | 201 // Indicates the last session should be restored on startup. This overrides |
| 202 // the preferences value and is primarily intended for testing. | 202 // the preferences value and is primarily intended for testing. The value of |
| 203 // this switch is the number of tabs to wait until loaded before |
| 204 // 'load completed' is sent to the ui_test. |
| 203 const wchar_t kRestoreLastSession[] = L"restore-last-session"; | 205 const wchar_t kRestoreLastSession[] = L"restore-last-session"; |
| 204 | 206 |
| 205 // Chrome supports a playback and record mode. Record mode saves *everything* | 207 // Chrome supports a playback and record mode. Record mode saves *everything* |
| 206 // to the cache. Playback mode reads data exclusively from the cache. This | 208 // to the cache. Playback mode reads data exclusively from the cache. This |
| 207 // allows us to record a session into the cache and then replay it at will. | 209 // allows us to record a session into the cache and then replay it at will. |
| 208 const wchar_t kRecordMode[] = L"record-mode"; | 210 const wchar_t kRecordMode[] = L"record-mode"; |
| 209 const wchar_t kPlaybackMode[] = L"playback-mode"; | 211 const wchar_t kPlaybackMode[] = L"playback-mode"; |
| 210 | 212 |
| 211 // Don't record/playback events when using record & playback. | 213 // Don't record/playback events when using record & playback. |
| 212 const wchar_t kNoEvents[] = L"no-events"; | 214 const wchar_t kNoEvents[] = L"no-events"; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 const wchar_t kEnableVideo[] = L"enable-video"; | 375 const wchar_t kEnableVideo[] = L"enable-video"; |
| 374 | 376 |
| 375 // Pass the name of the current running automated test to Chrome. | 377 // Pass the name of the current running automated test to Chrome. |
| 376 const wchar_t kTestName[] = L"test-name"; | 378 const wchar_t kTestName[] = L"test-name"; |
| 377 | 379 |
| 378 // On POSIX only: the contents of this flag are prepended to the renderer | 380 // On POSIX only: the contents of this flag are prepended to the renderer |
| 379 // command line. (Useful values might be "valgrind" or "gdb --args") | 381 // command line. (Useful values might be "valgrind" or "gdb --args") |
| 380 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; | 382 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; |
| 381 | 383 |
| 382 } // namespace switches | 384 } // namespace switches |
| OLD | NEW |