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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1771223002: Migrate *-ime-thread switches to feature API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: plumb imeadapter instead and fixed nits Created 4 years, 9 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 944
945 // The telephony region (ISO country code) to use in phone number detection. 945 // The telephony region (ISO country code) to use in phone number detection.
946 const char kNetworkCountryIso[] = "network-country-iso"; 946 const char kNetworkCountryIso[] = "network-country-iso";
947 947
948 // Enables remote debug over HTTP on the specified socket name. 948 // Enables remote debug over HTTP on the specified socket name.
949 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; 949 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
950 950
951 // Block ChildProcessMain thread of the renderer's ChildProcessService until a 951 // Block ChildProcessMain thread of the renderer's ChildProcessService until a
952 // Java debugger is attached. 952 // Java debugger is attached.
953 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger"; 953 const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
954
955 // Use IME's own thread instead of using main UI thread. It also means that
956 // we will not use replica editor and do a round trip to renderer to synchronize
957 // with Blink data.
958 const char kEnableImeThread[] = "enable-ime-thread";
959 const char kDisableImeThread[] = "disable-ime-thread";
960 #endif 954 #endif
961 955
962 // Enable the aggressive flushing of DOM Storage to minimize data loss. 956 // Enable the aggressive flushing of DOM Storage to minimize data loss.
963 const char kEnableAggressiveDOMStorageFlushing[] = 957 const char kEnableAggressiveDOMStorageFlushing[] =
964 "enable-aggressive-domstorage-flushing"; 958 "enable-aggressive-domstorage-flushing";
965 959
966 // Enable audio for desktop share. 960 // Enable audio for desktop share.
967 const char kEnableAudioSupportForDesktopShare[] = 961 const char kEnableAudioSupportForDesktopShare[] =
968 "enable-audio-support-for-desktop-share"; 962 "enable-audio-support-for-desktop-share";
969 963
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1039 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1046 1040
1047 // Enables the exporting of the tracing events to ETW. This is only supported on 1041 // Enables the exporting of the tracing events to ETW. This is only supported on
1048 // Windows Vista and later. 1042 // Windows Vista and later.
1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1043 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1050 #endif 1044 #endif
1051 1045
1052 // Don't dump stuff here, follow the same order as the header. 1046 // Don't dump stuff here, follow the same order as the header.
1053 1047
1054 } // namespace switches 1048 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698