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 // Disable use of cross-process CALayers to display content directly from the | 10 // Disable use of cross-process CALayers to display content directly from the |
(...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 #ifdef ENABLE_TOPCHROME_MD |
| 58 // Enables top Chrome material design look and feel changes. |
| 59 const char kTopChromeMD[] = "top-chrome-md"; |
| 60 |
| 61 // The default look and feel value for the |kTopChromeMD| switch. |
| 62 const char kTopChromeMDDefault[] = ""; |
| 63 |
| 64 // Material design look and feel value for the |kTopChromeMD| switch. |
| 65 const char kTopChromeMDEnabled[] = "enabled"; |
| 66 |
| 67 // Material design look and feel value for the |kTopChromeMD| switch. Targeted |
| 68 // for convertible devices. |
| 69 const char kTopChromeMDHybridEnabled[] = "enabled-hybrid"; |
| 70 |
| 71 // Classic, non-material, look and feel value for the |kTopChromeMD| switch. |
| 72 const char kTopChromeMDDisabled[] = "disabled"; |
| 73 #endif |
| 74 |
57 // On Windows only: requests that Chrome connect to the running Metro viewer | 75 // On Windows only: requests that Chrome connect to the running Metro viewer |
58 // process. | 76 // process. |
59 const char kViewerConnect[] = "connect-to-metro-viewer"; | 77 const char kViewerConnect[] = "connect-to-metro-viewer"; |
60 | 78 |
61 } // namespace switches | 79 } // namespace switches |
OLD | NEW |