| OLD | NEW |
| 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 kEnableRemoteCoreAnimation[] = "enable-remote-core-animation"; | 12 const char kEnableRemoteCoreAnimation[] = "enable-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 |
| 18 // Disables an experimental focus manager to track text input clients. | 21 // Disables an experimental focus manager to track text input clients. |
| 19 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; | 22 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; |
| 20 | 23 |
| 21 // Disables touch adjustment. | 24 // Disables touch adjustment. |
| 22 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 25 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
| 23 | 26 |
| 24 // Disables touch event based drag and drop. | 27 // Disables touch event based drag and drop. |
| 25 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | 28 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
| 26 | 29 |
| 27 // Disables controls that support touch base text editing. | 30 // Disables controls that support touch base text editing. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 42 | 45 |
| 43 // Disable ui::MessageBox. This is useful when running as part of scripts that | 46 // Disable ui::MessageBox. This is useful when running as part of scripts that |
| 44 // do not have a user interface. | 47 // do not have a user interface. |
| 45 const char kNoMessageBox[] = "no-message-box"; | 48 const char kNoMessageBox[] = "no-message-box"; |
| 46 | 49 |
| 47 // On Windows only: requests that Chrome connect to the running Metro viewer | 50 // On Windows only: requests that Chrome connect to the running Metro viewer |
| 48 // process. | 51 // process. |
| 49 const char kViewerConnect[] = "connect-to-metro-viewer"; | 52 const char kViewerConnect[] = "connect-to-metro-viewer"; |
| 50 | 53 |
| 51 } // namespace switches | 54 } // namespace switches |
| OLD | NEW |