OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
356 extern const char kScreenSaverUrl[]; | 356 extern const char kScreenSaverUrl[]; |
357 extern const char kCompressSystemFeedback[]; | 357 extern const char kCompressSystemFeedback[]; |
358 extern const char kForceStubLibcros[]; | 358 extern const char kForceStubLibcros[]; |
359 extern const char kEnableDOMUIMenu[]; | 359 extern const char kEnableDOMUIMenu[]; |
360 extern const char kEnableMediaPlayer[]; | 360 extern const char kEnableMediaPlayer[]; |
361 extern const char kEnableAdvancedFileSystem[]; | 361 extern const char kEnableAdvancedFileSystem[]; |
362 #endif | 362 #endif |
363 | 363 |
364 #if defined(OS_LINUX) | 364 #if defined(OS_LINUX) |
365 extern const char kScrollPixels[]; | 365 extern const char kScrollPixels[]; |
366 #if defined(TOOLKIT_VIEWS) | |
367 extern const char kEnableTextfieldView[]; | |
sky
2010/12/15 20:31:27
This name isn't very descriptive. How about kEnabl
oshima
2010/12/16 01:15:19
Moved to native_textfield_view.cc
| |
368 #endif | |
366 #endif | 369 #endif |
367 | 370 |
368 #if defined(OS_MACOSX) || defined(OS_WIN) | 371 #if defined(OS_MACOSX) || defined(OS_WIN) |
369 extern const char kUseSystemSSL[]; | 372 extern const char kUseSystemSSL[]; |
370 #endif | 373 #endif |
371 | 374 |
372 #if defined(OS_POSIX) | 375 #if defined(OS_POSIX) |
373 extern const char kEnableCrashReporter[]; | 376 extern const char kEnableCrashReporter[]; |
374 extern const char kNoProcessSingletonDialog[]; | 377 extern const char kNoProcessSingletonDialog[]; |
375 #if !defined(OS_MACOSX) | 378 #if !defined(OS_MACOSX) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
408 #endif | 411 #endif |
409 // Return true if the switches indicate the seccomp sandbox is enabled. | 412 // Return true if the switches indicate the seccomp sandbox is enabled. |
410 bool SeccompSandboxEnabled(); | 413 bool SeccompSandboxEnabled(); |
411 | 414 |
412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 415 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
413 // alphabetical order, or in one of the ifdefs (also in order in each section). | 416 // alphabetical order, or in one of the ifdefs (also in order in each section). |
414 | 417 |
415 } // namespace switches | 418 } // namespace switches |
416 | 419 |
417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 420 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |