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

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

Issue 2547373002: Rename TouchEventAPI to TouchEventFeatureDetection (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename Created 4 years 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 | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | 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 "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 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 841 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
842 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 842 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
843 843
844 // Type of the current test harness ("browser" or "ui"). 844 // Type of the current test harness ("browser" or "ui").
845 const char kTestType[] = "test-type"; 845 const char kTestType[] = "test-type";
846 846
847 // Groups all out-of-process iframes to a different process from the process 847 // Groups all out-of-process iframes to a different process from the process
848 // of the top document. This is a performance isolation mode. 848 // of the top document. This is a performance isolation mode.
849 const char kTopDocumentIsolation[] = "top-document-isolation"; 849 const char kTopDocumentIsolation[] = "top-document-isolation";
850 850
851 // Enable support for touch event feature detection.
852 const char kTouchEventFeatureDetection[] = "touch-events";
853
854 // The values the kTouchEventFeatureDetection switch may have, as in
855 // --touch-events=disabled.
856 // auto: enabled at startup when an attached touchscreen is present.
857 const char kTouchEventFeatureDetectionAuto[] = "auto";
858 // enabled: touch events always enabled.
859 const char kTouchEventFeatureDetectionEnabled[] = "enabled";
860 // disabled: touch events are disabled.
861 const char kTouchEventFeatureDetectionDisabled[] = "disabled";
862
851 // Controls how text selection granularity changes when touch text selection 863 // Controls how text selection granularity changes when touch text selection
852 // handles are dragged. Should be "character" or "direction". If not specified, 864 // handles are dragged. Should be "character" or "direction". If not specified,
853 // the platform default is used. 865 // the platform default is used.
854 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; 866 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy";
855 867
856 // Prioritizes the UI's command stream in the GPU process 868 // Prioritizes the UI's command stream in the GPU process
857 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; 869 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process";
858 870
859 // Bypass the media stream infobar by selecting the default device for media 871 // Bypass the media stream infobar by selecting the default device for media
860 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 872 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // the given directory. Used primarily to gather samples for IPC fuzzing. 1085 // the given directory. Used primarily to gather samples for IPC fuzzing.
1074 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1086 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1075 1087
1076 // Specifies the testcase used by the IPC fuzzer. 1088 // Specifies the testcase used by the IPC fuzzer.
1077 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1089 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1078 #endif 1090 #endif
1079 1091
1080 // Don't dump stuff here, follow the same order as the header. 1092 // Don't dump stuff here, follow the same order as the header.
1081 1093
1082 } // namespace switches 1094 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698