| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "ui/base/ui_base_switches.h" | 6 #include "ui/base/ui_base_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 #if defined(OS_MACOSX) && !defined(OS_IOS) | 10 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // Disables merging the key event (WM_KEY*) with the char event (WM_CHAR). | 27 // Disables merging the key event (WM_KEY*) with the char event (WM_CHAR). |
| 28 const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events"; | 28 const char kDisableMergeKeyCharEvents[] = "disable-merge-key-char-events"; |
| 29 | 29 |
| 30 // Enables merging the key event (WM_KEY*) with the char event (WM_CHAR). | 30 // Enables merging the key event (WM_KEY*) with the char event (WM_CHAR). |
| 31 const char kEnableMergeKeyCharEvents[] = "enable-merge-key-char-events"; | 31 const char kEnableMergeKeyCharEvents[] = "enable-merge-key-char-events"; |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 // Disables use of DWM composition for top level windows. | 34 // Disables use of DWM composition for top level windows. |
| 35 const char kDisableDwmComposition[] = "disable-dwm-composition"; | 35 const char kDisableDwmComposition[] = "disable-dwm-composition"; |
| 36 | 36 |
| 37 // Disables large icons on the New Tab page. | |
| 38 const char kDisableIconNtp[] = "disable-icon-ntp"; | |
| 39 | |
| 40 // Disables touch adjustment. | 37 // Disables touch adjustment. |
| 41 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 38 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
| 42 | 39 |
| 43 // Disables touch event based drag and drop. | 40 // Disables touch event based drag and drop. |
| 44 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | 41 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
| 45 | 42 |
| 46 // Enables large icons on the New Tab page. | |
| 47 const char kEnableIconNtp[] = "enable-icon-ntp"; | |
| 48 | |
| 49 // Enables touch event based drag and drop. | 43 // Enables touch event based drag and drop. |
| 50 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 44 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
| 51 | 45 |
| 52 // The language file that we want to try to open. Of the form | 46 // The language file that we want to try to open. Of the form |
| 53 // language[-country] where language is the 2 letter code from ISO-639. | 47 // language[-country] where language is the 2 letter code from ISO-639. |
| 54 const char kLang[] = "lang"; | 48 const char kLang[] = "lang"; |
| 55 | 49 |
| 56 // Defines the speed of Material Design visual feedback animations. | 50 // Defines the speed of Material Design visual feedback animations. |
| 57 const char kMaterialDesignInkDropAnimationSpeed[] = | 51 const char kMaterialDesignInkDropAnimationSpeed[] = |
| 58 "material-design-ink-drop-animation-speed"; | 52 "material-design-ink-drop-animation-speed"; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 79 // Use new window behavior for virtual keyboard (do not change work area in | 73 // Use new window behavior for virtual keyboard (do not change work area in |
| 80 // non-sticky mode). | 74 // non-sticky mode). |
| 81 const char kUseNewVirtualKeyboardBehavior[] = | 75 const char kUseNewVirtualKeyboardBehavior[] = |
| 82 "use-new-virtual-keyboard-behavior"; | 76 "use-new-virtual-keyboard-behavior"; |
| 83 | 77 |
| 84 // Applies the material design mode passed via --top-chrome-md to elements | 78 // Applies the material design mode passed via --top-chrome-md to elements |
| 85 // throughout Chrome (not just top Chrome). | 79 // throughout Chrome (not just top Chrome). |
| 86 const char kExtendMdToSecondaryUi[] = "secondary-ui-md"; | 80 const char kExtendMdToSecondaryUi[] = "secondary-ui-md"; |
| 87 | 81 |
| 88 } // namespace switches | 82 } // namespace switches |
| OLD | NEW |