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