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

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

Issue 10535046: Add Windows commandline switch --enable-views-textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CrOS build; update strings/comments; cleanup, etc. 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 #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 // The default device scale factor to apply to the browser UI and 9 // The default device scale factor to apply to the browser UI and
10 // the contents in the absence of a viewport meta tag. 10 // the contents in the absence of a viewport meta tag.
11 const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor"; 11 const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor";
12 12
13 // Let text glyphs have X-positions that aren't snapped to the pixel grid. 13 // Let text glyphs have X-positions that aren't snapped to the pixel grid.
14 const char kEnableTextSubpixelPositioning[] = 14 const char kEnableTextSubpixelPositioning[] =
15 "enable-text-subpixel-positioning"; 15 "enable-text-subpixel-positioning";
16 16
17 // Enable touch screen calibration. 17 // Enable touch screen calibration.
18 const char kEnableTouchCalibration[] = "enable-touch-calibration"; 18 const char kEnableTouchCalibration[] = "enable-touch-calibration";
19 19
20 // Enable support for touch events. 20 // Enable support for touch events.
21 const char kEnableTouchEvents[] = "enable-touch-events"; 21 const char kEnableTouchEvents[] = "enable-touch-events";
22 22
23 // Enables the Views textfield on Windows.
24 const char kEnableViewsTextfield[] = "enable-views-textfield";
25
23 // The language file that we want to try to open. Of the form 26 // The language file that we want to try to open. Of the form
24 // language[-country] where language is the 2 letter code from ISO-639. 27 // language[-country] where language is the 2 letter code from ISO-639.
25 const char kLang[] = "lang"; 28 const char kLang[] = "lang";
26 29
27 // Loads 2x resources. These resource paks currently contain 30 // Loads 2x resources. These resource paks currently contain
28 // mix of 1x and 2x and loading them may break the UI on 2x display. 31 // mix of 1x and 2x and loading them may break the UI on 2x display.
29 const char kLoad2xResources[] = "load-2x-resources"; 32 const char kLoad2xResources[] = "load-2x-resources";
30 33
31 // Load the locale resources from the given path. When running on Mac/Unix the 34 // Load the locale resources from the given path. When running on Mac/Unix the
32 // path should point to a locale.pak file. 35 // path should point to a locale.pak file.
(...skipping 23 matching lines...) Expand all
56 #endif 59 #endif
57 60
58 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 61 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
59 // Tells chrome to interpret events from these devices as touch events. Only 62 // Tells chrome to interpret events from these devices as touch events. Only
60 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 63 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
61 // devices can be retrieved from 'xinput list'. 64 // devices can be retrieved from 'xinput list'.
62 const char kTouchDevices[] = "touch-devices"; 65 const char kTouchDevices[] = "touch-devices";
63 #endif 66 #endif
64 67
65 } // namespace switches 68 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698