Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: ui/base/ui_base_switches.h

Issue 10494013: Add flag which shows missing 2x resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 kEnableTextSubpixelPositioning[]; 17 UI_EXPORT extern const char kEnableTextSubpixelPositioning[];
18 UI_EXPORT extern const char kEnableTouchCalibration[]; 18 UI_EXPORT extern const char kEnableTouchCalibration[];
19 UI_EXPORT extern const char kEnableTouchEvents[]; 19 UI_EXPORT extern const char kEnableTouchEvents[];
20 UI_EXPORT extern const char kLang[]; 20 UI_EXPORT extern const char kLang[];
21 UI_EXPORT extern const char kLoad2xResources[]; 21 UI_EXPORT extern const char kLoad2xResources[];
22 UI_EXPORT extern const char kHighlightMissing2xResources[];
sky 2012/06/08 03:01:21 sort
22 UI_EXPORT extern const char kLocalePak[]; 23 UI_EXPORT extern const char kLocalePak[];
23 UI_EXPORT extern const char kNoMessageBox[]; 24 UI_EXPORT extern const char kNoMessageBox[];
24 UI_EXPORT extern const char kTouchOptimizedUI[]; 25 UI_EXPORT extern const char kTouchOptimizedUI[];
25 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; 26 UI_EXPORT extern const char kTouchOptimizedUIAuto[];
26 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; 27 UI_EXPORT extern const char kTouchOptimizedUIDisabled[];
27 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; 28 UI_EXPORT extern const char kTouchOptimizedUIEnabled[];
28 29
29 #if defined(OS_MACOSX) 30 #if defined(OS_MACOSX)
30 // TODO(kbr): remove this and the associated old code path: 31 // TODO(kbr): remove this and the associated old code path:
31 // http://crbug.com/105344 32 // http://crbug.com/105344
32 // This isn't really the right place for this switch, but is the most 33 // This isn't really the right place for this switch, but is the most
33 // convenient place where it can be shared between 34 // convenient place where it can be shared between
34 // src/webkit/plugins/npapi/ and src/content/plugin/ . 35 // src/webkit/plugins/npapi/ and src/content/plugin/ .
35 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; 36 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[];
36 #endif 37 #endif
37 38
38 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 39 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
39 UI_EXPORT extern const char kTouchDevices[]; 40 UI_EXPORT extern const char kTouchDevices[];
40 #endif 41 #endif
41 42
42 } // namespace switches 43 } // namespace switches
43 44
44 #endif // UI_BASE_UI_BASE_SWITCHES_H_ 45 #endif // UI_BASE_UI_BASE_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698