| 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 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface | 10 // Fall back to using CAOpenGLLayers display content, instead of the IOSurface |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // Enables touch event based drag and drop. | 47 // Enables touch event based drag and drop. |
| 48 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 48 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
| 49 | 49 |
| 50 // Enables controls that support touch base text editing. | 50 // Enables controls that support touch base text editing. |
| 51 const char kEnableTouchEditing[] = "enable-touch-editing"; | 51 const char kEnableTouchEditing[] = "enable-touch-editing"; |
| 52 | 52 |
| 53 // The language file that we want to try to open. Of the form | 53 // The language file that we want to try to open. Of the form |
| 54 // language[-country] where language is the 2 letter code from ISO-639. | 54 // language[-country] where language is the 2 letter code from ISO-639. |
| 55 const char kLang[] = "lang"; | 55 const char kLang[] = "lang"; |
| 56 | 56 |
| 57 // Defines the Material Design visual feedback shape. | |
| 58 const char kMaterialDesignInkDrop[] = "material-design-ink-drop"; | |
| 59 | |
| 60 // Defines the Material Design visual feedback as a circle. | |
| 61 const char kMaterialDesignInkDropCircle[] = "circle"; | |
| 62 | |
| 63 // Defines the Material Design visual feedback as a sqaure. | |
| 64 const char kMaterialDesignInkDropSquare[] = "square"; | |
| 65 | |
| 66 // Defines the speed of Material Design visual feedback animations. | 57 // Defines the speed of Material Design visual feedback animations. |
| 67 const char kMaterialDesignInkDropAnimationSpeed[] = | 58 const char kMaterialDesignInkDropAnimationSpeed[] = |
| 68 "material-design-ink-drop-animation-speed"; | 59 "material-design-ink-drop-animation-speed"; |
| 69 | 60 |
| 70 // Defines that Material Design visual feedback animations should be fast. | 61 // Defines that Material Design visual feedback animations should be fast. |
| 71 const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast"; | 62 const char kMaterialDesignInkDropAnimationSpeedFast[] = "fast"; |
| 72 | 63 |
| 73 // Defines that Material Design visual feedback animations should be slow. | 64 // Defines that Material Design visual feedback animations should be slow. |
| 74 const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow"; | 65 const char kMaterialDesignInkDropAnimationSpeedSlow[] = "slow"; |
| 75 | 66 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 86 | 77 |
| 87 // Classic, non-material, mode for the |kTopChromeMD| switch. | 78 // Classic, non-material, mode for the |kTopChromeMD| switch. |
| 88 const char kTopChromeMDNonMaterial[] = ""; | 79 const char kTopChromeMDNonMaterial[] = ""; |
| 89 #endif // defined(ENABLE_TOPCHROME_MD) | 80 #endif // defined(ENABLE_TOPCHROME_MD) |
| 90 | 81 |
| 91 // On Windows only: requests that Chrome connect to the running Metro viewer | 82 // On Windows only: requests that Chrome connect to the running Metro viewer |
| 92 // process. | 83 // process. |
| 93 const char kViewerConnect[] = "connect-to-metro-viewer"; | 84 const char kViewerConnect[] = "connect-to-metro-viewer"; |
| 94 | 85 |
| 95 } // namespace switches | 86 } // namespace switches |
| OLD | NEW |