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

Side by Side Diff: ui/base/ui_base_switches.cc

Issue 746403003: disable link disambiguation by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « ui/base/ui_base_switches.h ('k') | ui/base/ui_base_switches_util.cc » ('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 "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 // Enable use of cross-process CALayers to display content directly from the 10 // Enable use of cross-process CALayers to display content directly from the
11 // GPU process on Mac. 11 // GPU process on Mac.
12 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; 12 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation";
13 #endif 13 #endif
14 14
15 // Disables use of DWM composition for top level windows. 15 // Disables use of DWM composition for top level windows.
16 const char kDisableDwmComposition[] = "disable-dwm-composition"; 16 const char kDisableDwmComposition[] = "disable-dwm-composition";
17 17
18 const char kDisableLinkDisambiguationPopup[] =
19 "disable-link-disambiguation-popup";
20
21 // Disables an experimental focus manager to track text input clients. 18 // Disables an experimental focus manager to track text input clients.
22 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; 19 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager";
23 20
24 // Disables touch adjustment. 21 // Disables touch adjustment.
25 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; 22 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
26 23
27 // Disables touch event based drag and drop. 24 // Disables touch event based drag and drop.
28 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; 25 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop";
29 26
30 // Disables controls that support touch base text editing. 27 // Disables controls that support touch base text editing.
31 const char kDisableTouchEditing[] = "disable-touch-editing"; 28 const char kDisableTouchEditing[] = "disable-touch-editing";
32 29
30 // Enables a zoomed popup bubble that allows the user to select a link.
31 const char kEnableLinkDisambiguationPopup[] =
32 "enable-link-disambiguation-popup";
33
33 // Enables an experimental focus manager to track text input clients. 34 // Enables an experimental focus manager to track text input clients.
34 const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager"; 35 const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager";
35 36
36 // Enables touch event based drag and drop. 37 // Enables touch event based drag and drop.
37 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 38 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
38 39
39 // Enables controls that support touch base text editing. 40 // Enables controls that support touch base text editing.
40 const char kEnableTouchEditing[] = "enable-touch-editing"; 41 const char kEnableTouchEditing[] = "enable-touch-editing";
41 42
42 // Enables additional visual feedback to touch input. 43 // Enables additional visual feedback to touch input.
43 const char kEnableTouchFeedback[] = "enable-touch-feedback"; 44 const char kEnableTouchFeedback[] = "enable-touch-feedback";
44 45
45 // The language file that we want to try to open. Of the form 46 // The language file that we want to try to open. Of the form
46 // language[-country] where language is the 2 letter code from ISO-639. 47 // language[-country] where language is the 2 letter code from ISO-639.
47 const char kLang[] = "lang"; 48 const char kLang[] = "lang";
48 49
49 // Disable ui::MessageBox. This is useful when running as part of scripts that 50 // Disable ui::MessageBox. This is useful when running as part of scripts that
50 // do not have a user interface. 51 // do not have a user interface.
51 const char kNoMessageBox[] = "no-message-box"; 52 const char kNoMessageBox[] = "no-message-box";
52 53
53 // On Windows only: requests that Chrome connect to the running Metro viewer 54 // On Windows only: requests that Chrome connect to the running Metro viewer
54 // process. 55 // process.
55 const char kViewerConnect[] = "connect-to-metro-viewer"; 56 const char kViewerConnect[] = "connect-to-metro-viewer";
56 57
57 } // namespace switches 58 } // namespace switches
OLDNEW
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/ui_base_switches_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698