| 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 // Defines all the command-line switches used by ui/base. | 5 // Defines all the command-line switches used by ui/base. |
| 6 | 6 |
| 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ | 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ |
| 8 #define UI_BASE_UI_BASE_SWITCHES_H_ | 8 #define UI_BASE_UI_BASE_SWITCHES_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "ui/base/ui_export.h" | 12 #include "ui/base/ui_export.h" |
| 13 | 13 |
| 14 namespace switches { | 14 namespace switches { |
| 15 | 15 |
| 16 UI_EXPORT extern const char kDefaultDeviceScaleFactor[]; | 16 UI_EXPORT extern const char kDefaultDeviceScaleFactor[]; |
| 17 UI_EXPORT extern const char kDisableTouchCalibration[]; |
| 17 UI_EXPORT extern const char kEnableTouchEvents[]; | 18 UI_EXPORT extern const char kEnableTouchEvents[]; |
| 18 UI_EXPORT extern const char kLang[]; | 19 UI_EXPORT extern const char kLang[]; |
| 19 UI_EXPORT extern const char kLocalePak[]; | 20 UI_EXPORT extern const char kLocalePak[]; |
| 20 UI_EXPORT extern const char kNoMessageBox[]; | 21 UI_EXPORT extern const char kNoMessageBox[]; |
| 21 UI_EXPORT extern const char kTouchOptimizedUI[]; | 22 UI_EXPORT extern const char kTouchOptimizedUI[]; |
| 22 | 23 |
| 23 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
| 24 // TODO(kbr): remove this and the associated old code path: | 25 // TODO(kbr): remove this and the associated old code path: |
| 25 // http://crbug.com/105344 | 26 // http://crbug.com/105344 |
| 26 // This isn't really the right place for this switch, but is the most | 27 // This isn't really the right place for this switch, but is the most |
| 27 // convenient place where it can be shared between | 28 // convenient place where it can be shared between |
| 28 // src/webkit/plugins/npapi/ and src/content/plugin/ . | 29 // src/webkit/plugins/npapi/ and src/content/plugin/ . |
| 29 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; | 30 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; |
| 30 #endif | 31 #endif |
| 31 | 32 |
| 32 } // namespace switches | 33 } // namespace switches |
| 33 | 34 |
| 34 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 35 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
| OLD | NEW |