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

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

Issue 10823025: Adding new maximize menu according to spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Found some edge cases for menu destruction Created 8 years, 4 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
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 // Whether or not ImageSkiaOperations methods can scale one of images 9 // Whether or not ImageSkiaOperations methods can scale one of images
10 // if they don't have the same scale factor. 10 // if they don't have the same scale factor.
11 const char kDisableScalingInImageSkiaOperations[] = 11 const char kDisableScalingInImageSkiaOperations[] =
12 "disable-scaling-in-image-skia-operations"; 12 "disable-scaling-in-image-skia-operations";
13 13
14 // Let text glyphs have X-positions that aren't snapped to the pixel grid. 14 // Let text glyphs have X-positions that aren't snapped to the pixel grid.
15 const char kEnableTextSubpixelPositioning[] = 15 const char kEnableTextSubpixelPositioning[] =
16 "enable-text-subpixel-positioning"; 16 "enable-text-subpixel-positioning";
17 17
18 // Enable touch screen calibration. 18 // Enable touch screen calibration.
19 const char kEnableTouchCalibration[] = "enable-touch-calibration"; 19 const char kEnableTouchCalibration[] = "enable-touch-calibration";
20 20
21 // Enable support for touch events. 21 // Enable support for touch events.
22 const char kEnableTouchEvents[] = "enable-touch-events"; 22 const char kEnableTouchEvents[] = "enable-touch-events";
23 23
24 // Enable support for radial touch menus.
25 const char kEnableTouchRadialMenu[] = "enable-touch-radial-menu";
26
24 // Enables the Views textfield on Windows. 27 // Enables the Views textfield on Windows.
25 const char kEnableViewsTextfield[] = "enable-views-textfield"; 28 const char kEnableViewsTextfield[] = "enable-views-textfield";
26 29
27 // Overrides the device scale factor for the browser UI and the 30 // Overrides the device scale factor for the browser UI and the
28 // contents. 31 // contents.
29 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 32 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
30 33
31 // Generates a 2x version of resources for which no 2x version is available or 34 // Generates a 2x version of resources for which no 2x version is available or
32 // the 2x version is of an incorrect size and applies a red mask to the 35 // the 2x version is of an incorrect size and applies a red mask to the
33 // resource. Resources for which hidpi is not supported because of software 36 // resource. Resources for which hidpi is not supported because of software
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #endif 81 #endif
79 82
80 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 83 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
81 // Tells chrome to interpret events from these devices as touch events. Only 84 // Tells chrome to interpret events from these devices as touch events. Only
82 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 85 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
83 // devices can be retrieved from 'xinput list'. 86 // devices can be retrieved from 'xinput list'.
84 const char kTouchDevices[] = "touch-devices"; 87 const char kTouchDevices[] = "touch-devices";
85 #endif 88 #endif
86 89
87 } // namespace switches 90 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698