| 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 CoreAnimation to draw on the Mac. | 10 // Disable use of CoreAnimation to draw on the Mac. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 // Enables touch event based drag and drop. | 32 // Enables touch event based drag and drop. |
| 33 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 33 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
| 34 | 34 |
| 35 // Enables controls that support touch base text editing. | 35 // Enables controls that support touch base text editing. |
| 36 const char kEnableTouchEditing[] = "enable-touch-editing"; | 36 const char kEnableTouchEditing[] = "enable-touch-editing"; |
| 37 | 37 |
| 38 // The language file that we want to try to open. Of the form | 38 // The language file that we want to try to open. Of the form |
| 39 // language[-country] where language is the 2 letter code from ISO-639. | 39 // language[-country] where language is the 2 letter code from ISO-639. |
| 40 const char kLang[] = "lang"; | 40 const char kLang[] = "lang"; |
| 41 | 41 |
| 42 // Load the locale resources from the given path. When running on Mac/Unix the | |
| 43 // path should point to a locale.pak file. | |
| 44 const char kLocalePak[] = "locale_pak"; | |
| 45 | |
| 46 // Disable ui::MessageBox. This is useful when running as part of scripts that | 42 // Disable ui::MessageBox. This is useful when running as part of scripts that |
| 47 // do not have a user interface. | 43 // do not have a user interface. |
| 48 const char kNoMessageBox[] = "no-message-box"; | 44 const char kNoMessageBox[] = "no-message-box"; |
| 49 | 45 |
| 50 } // namespace switches | 46 } // namespace switches |
| OLD | NEW |