| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) | 70 #if defined(OS_WIN) |
| 71 // Disables merging the key event (WM_KEY*) with the char event (WM_CHAR). |
| 72 const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events"; |
| 73 |
| 71 // Disables the USB keyboard detection for blocking the OSK on Win8+. | 74 // Disables the USB keyboard detection for blocking the OSK on Win8+. |
| 72 const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; | 75 const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect"; |
| 73 #endif | 76 #endif |
| 74 | 77 |
| 75 #if defined(OS_POSIX) | 78 #if defined(OS_POSIX) |
| 76 // Used for turning on Breakpad crash reporting in a debug environment where | 79 // Used for turning on Breakpad crash reporting in a debug environment where |
| 77 // crash reporting is typically compiled but disabled. | 80 // crash reporting is typically compiled but disabled. |
| 78 const char kEnableCrashReporterForTesting[] = | 81 const char kEnableCrashReporterForTesting[] = |
| 79 "enable-crash-reporter-for-testing"; | 82 "enable-crash-reporter-for-testing"; |
| 80 #endif | 83 #endif |
| 81 | 84 |
| 82 } // namespace switches | 85 } // namespace switches |
| OLD | NEW |