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 // 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
340 extern const char kClearTokenService[]; | 340 extern const char kClearTokenService[]; |
341 extern const char kSetToken[]; | 341 extern const char kSetToken[]; |
342 extern const char kWebSocketLiveExperimentHost[]; | 342 extern const char kWebSocketLiveExperimentHost[]; |
343 extern const char kExposePrivateExtensionApi[]; | 343 extern const char kExposePrivateExtensionApi[]; |
344 #endif | 344 #endif |
345 | 345 |
346 #if defined(HAVE_XINPUT2) | 346 #if defined(HAVE_XINPUT2) |
347 extern const char kTouchDevices[]; | 347 extern const char kTouchDevices[]; |
348 #endif | 348 #endif |
349 | 349 |
350 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX) | |
351 extern const char kDisablePrintPreview[]; | |
vandebo (ex-Chrome)
2011/08/16 22:38:39
Do we need this for disable to work?
Lei Zhang
2011/08/16 23:36:30
We do.
| |
352 #else | |
353 extern const char kEnablePrintPreview[]; | 350 extern const char kEnablePrintPreview[]; |
354 #endif | |
355 | 351 |
356 bool IsPrintPreviewEnabled(); | 352 bool IsPrintPreviewEnabled(); |
357 | 353 |
358 bool IsInBrowserThumbnailingEnabled(); | 354 bool IsInBrowserThumbnailingEnabled(); |
359 | 355 |
360 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 356 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
361 // alphabetical order, or in one of the ifdefs (also in order in each section). | 357 // alphabetical order, or in one of the ifdefs (also in order in each section). |
362 | 358 |
363 } // namespace switches | 359 } // namespace switches |
364 | 360 |
365 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 361 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |