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

Side by Side Diff: ui/base/ui_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: Created 5 years, 2 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
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/base/ui_base_switches.h" 5 #include "ui/base/ui_base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if defined(OS_MACOSX) && !defined(OS_IOS) 9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface 10 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface
11 // based overlay display path. 11 // based overlay display path.
12 const char kDisableMacOverlays[] = "disable-mac-overlays"; 12 const char kDisableMacOverlays[] = "disable-mac-overlays";
13 13
14 // Disable use of cross-process CALayers to display content directly from the 14 // Disable use of cross-process CALayers to display content directly from the
15 // GPU process on Mac. 15 // GPU process on Mac.
16 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; 16 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
17 17
18 // Show borders around CALayers corresponding to overlays and partial damage. 18 // Show borders around CALayers corresponding to overlays and partial damage.
19 const char kShowMacOverlayBorders[] = "show-mac-overlay-borders"; 19 const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
20 #endif 20 #endif
21 21
22 #if defined(OS_WIN)
23 // Disables merging the key event (WM_KEY*) with the char event (WM_CHAR).
24 const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events";
25
26 // Enables merging the key event (WM_KEY*) with the char event (WM_CHAR).
27 const char kEnableMergeKeyCharEvents[] = "enable-merge-key-char-events";
28 #endif
29
22 // Disables use of DWM composition for top level windows. 30 // Disables use of DWM composition for top level windows.
23 const char kDisableDwmComposition[] = "disable-dwm-composition"; 31 const char kDisableDwmComposition[] = "disable-dwm-composition";
24 32
25 // Disables large icons on the New Tab page. 33 // Disables large icons on the New Tab page.
26 const char kDisableIconNtp[] = "disable-icon-ntp"; 34 const char kDisableIconNtp[] = "disable-icon-ntp";
27 35
28 // Disables touch adjustment. 36 // Disables touch adjustment.
29 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; 37 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
30 38
31 // Disables touch event based drag and drop. 39 // Disables touch event based drag and drop.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 79
72 // Classic, non-material, mode for the |kTopChromeMD| switch. 80 // Classic, non-material, mode for the |kTopChromeMD| switch.
73 const char kTopChromeMDNonMaterial[] = ""; 81 const char kTopChromeMDNonMaterial[] = "";
74 #endif // defined(ENABLE_TOPCHROME_MD) 82 #endif // defined(ENABLE_TOPCHROME_MD)
75 83
76 // On Windows only: requests that Chrome connect to the running Metro viewer 84 // On Windows only: requests that Chrome connect to the running Metro viewer
77 // process. 85 // process.
78 const char kViewerConnect[] = "connect-to-metro-viewer"; 86 const char kViewerConnect[] = "connect-to-metro-viewer";
79 87
80 } // namespace switches 88 } // namespace switches
OLDNEW
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698