Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: base/base_switches.cc

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add --disable-merge-key-char-events flag. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698