| 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 kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; | 12 const char kDisableRemoteCoreAnimation[] = "disable-remote-core-animation"; |
| 13 | 13 |
| 14 // Force all windows to render via a layer-backed view bound to an | 14 // Force all windows to render via a layer-backed view bound to an |
| 15 // NSOpenGLContext. | 15 // NSOpenGLContext. |
| 16 const char kEnableNSGLSurfaces[] = "enable-ns-gl-surfaces"; | 16 const char kEnableNSGLSurfaces[] = "enable-ns-gl-surfaces"; |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 // Disables use of DWM composition for top level windows. | 19 // Disables use of DWM composition for top level windows. |
| 20 const char kDisableDwmComposition[] = "disable-dwm-composition"; | 20 const char kDisableDwmComposition[] = "disable-dwm-composition"; |
| 21 | 21 |
| 22 // Disables large icons on the New Tab page. | 22 // Disables large icons on the New Tab page. |
| 23 const char kDisableIconNtp[] = "disable-icon-ntp"; | 23 const char kDisableIconNtp[] = "disable-icon-ntp"; |
| 24 | 24 |
| 25 // Disables an experimental focus manager to track text input clients. | |
| 26 const char kDisableTextInputFocusManager[] = "disable-text-input-focus-manager"; | |
| 27 | |
| 28 // Disables touch adjustment. | 25 // Disables touch adjustment. |
| 29 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 26 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
| 30 | 27 |
| 31 // Disables touch event based drag and drop. | 28 // Disables touch event based drag and drop. |
| 32 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | 29 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
| 33 | 30 |
| 34 // Disables controls that support touch base text editing. | 31 // Disables controls that support touch base text editing. |
| 35 const char kDisableTouchEditing[] = "disable-touch-editing"; | 32 const char kDisableTouchEditing[] = "disable-touch-editing"; |
| 36 | 33 |
| 37 // Disables additional visual feedback to touch input. | 34 // Disables additional visual feedback to touch input. |
| 38 const char kDisableTouchFeedback[] = "disable-touch-feedback"; | 35 const char kDisableTouchFeedback[] = "disable-touch-feedback"; |
| 39 | 36 |
| 40 // Enables large icons on the New Tab page. | 37 // Enables large icons on the New Tab page. |
| 41 const char kEnableIconNtp[] = "enable-icon-ntp"; | 38 const char kEnableIconNtp[] = "enable-icon-ntp"; |
| 42 | 39 |
| 43 // Enables a zoomed popup bubble that allows the user to select a link. | 40 // Enables a zoomed popup bubble that allows the user to select a link. |
| 44 const char kEnableLinkDisambiguationPopup[] = | 41 const char kEnableLinkDisambiguationPopup[] = |
| 45 "enable-link-disambiguation-popup"; | 42 "enable-link-disambiguation-popup"; |
| 46 | 43 |
| 47 // Enables an experimental focus manager to track text input clients. | |
| 48 const char kEnableTextInputFocusManager[] = "enable-text-input-focus-manager"; | |
| 49 | |
| 50 // Enables touch event based drag and drop. | 44 // Enables touch event based drag and drop. |
| 51 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 45 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
| 52 | 46 |
| 53 // Enables controls that support touch base text editing. | 47 // Enables controls that support touch base text editing. |
| 54 const char kEnableTouchEditing[] = "enable-touch-editing"; | 48 const char kEnableTouchEditing[] = "enable-touch-editing"; |
| 55 | 49 |
| 56 // The language file that we want to try to open. Of the form | 50 // The language file that we want to try to open. Of the form |
| 57 // language[-country] where language is the 2 letter code from ISO-639. | 51 // language[-country] where language is the 2 letter code from ISO-639. |
| 58 const char kLang[] = "lang"; | 52 const char kLang[] = "lang"; |
| 59 | 53 |
| 60 // 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 |
| 61 // process. | 55 // process. |
| 62 const char kViewerConnect[] = "connect-to-metro-viewer"; | 56 const char kViewerConnect[] = "connect-to-metro-viewer"; |
| 63 | 57 |
| 64 } // namespace switches | 58 } // namespace switches |
| OLD | NEW |