OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/base_switches.h" | 5 #include "base/base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Disables the crash reporting. | 9 // Disables the crash reporting. |
10 const char kDisableBreakpad[] = "disable-breakpad"; | 10 const char kDisableBreakpad[] = "disable-breakpad"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const char kTraceToFileName[] = "trace-to-file-name"; | 60 const char kTraceToFileName[] = "trace-to-file-name"; |
61 | 61 |
62 // Configure whether chrome://profiler will contain timing information. This | 62 // Configure whether chrome://profiler will contain timing information. This |
63 // option is enabled by default. A value of "0" will disable profiler timing, | 63 // option is enabled by default. A value of "0" will disable profiler timing, |
64 // while all other values will enable it. | 64 // while all other values will enable it. |
65 const char kProfilerTiming[] = "profiler-timing"; | 65 const char kProfilerTiming[] = "profiler-timing"; |
66 // Value of the --profiler-timing flag that will disable timing information for | 66 // Value of the --profiler-timing flag that will disable timing information for |
67 // chrome://profiler. | 67 // chrome://profiler. |
68 const char kProfilerTimingDisabledValue[] = "0"; | 68 const char kProfilerTimingDisabledValue[] = "0"; |
69 | 69 |
| 70 #if defined(OS_WIN) |
| 71 // Disables the USB keyboard detection for blocking the OSK on Win8+. |
| 72 const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; |
| 73 #endif |
| 74 |
70 #if defined(OS_POSIX) | 75 #if defined(OS_POSIX) |
71 // Used for turning on Breakpad crash reporting in a debug environment where | 76 // Used for turning on Breakpad crash reporting in a debug environment where |
72 // crash reporting is typically compiled but disabled. | 77 // crash reporting is typically compiled but disabled. |
73 const char kEnableCrashReporterForTesting[] = | 78 const char kEnableCrashReporterForTesting[] = |
74 "enable-crash-reporter-for-testing"; | 79 "enable-crash-reporter-for-testing"; |
75 #endif | 80 #endif |
76 | 81 |
77 } // namespace switches | 82 } // namespace switches |
OLD | NEW |