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

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

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Disables use of DWM composition for top level windows. 9 // Disables use of DWM composition for top level windows.
10 const char kDisableDwmComposition[] = "disable-dwm-composition"; 10 const char kDisableDwmComposition[] = "disable-dwm-composition";
(...skipping 15 matching lines...) Expand all
26 26
27 // Enables touch event based drag and drop. 27 // Enables touch event based drag and drop.
28 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 28 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
29 29
30 // Enables controls that support touch base text editing. 30 // Enables controls that support touch base text editing.
31 const char kEnableTouchEditing[] = "enable-touch-editing"; 31 const char kEnableTouchEditing[] = "enable-touch-editing";
32 32
33 // Enables the Views textfield on Windows. 33 // Enables the Views textfield on Windows.
34 const char kEnableViewsTextfield[] = "enable-views-textfield"; 34 const char kEnableViewsTextfield[] = "enable-views-textfield";
35 35
36 // Overrides the device scale factor for the browser UI and the contents.
37 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
38
39 // If a resource is requested at a scale factor at which it is not available 36 // If a resource is requested at a scale factor at which it is not available
40 // or the resource is the incorrect size (based on the size of the 1x resource), 37 // or the resource is the incorrect size (based on the size of the 1x resource),
41 // generates the missing resource and applies a red mask to the generated 38 // generates the missing resource and applies a red mask to the generated
42 // resource. Resources for which hidpi is not supported because of software 39 // resource. Resources for which hidpi is not supported because of software
43 // reasons will show up pixelated. 40 // reasons will show up pixelated.
44 const char kHighlightMissingScaledResources[] = 41 const char kHighlightMissingScaledResources[] =
45 "highlight-missing-scaled-resources"; 42 "highlight-missing-scaled-resources";
46 43
47 // The language file that we want to try to open. Of the form 44 // The language file that we want to try to open. Of the form
48 // language[-country] where language is the 2 letter code from ISO-639. 45 // language[-country] where language is the 2 letter code from ISO-639.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #endif 87 #endif
91 88
92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 89 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
93 // Tells chrome to interpret events from these devices as touch events. Only 90 // Tells chrome to interpret events from these devices as touch events. Only
94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 91 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
95 // devices can be retrieved from 'xinput list'. 92 // devices can be retrieved from 'xinput list'.
96 const char kTouchDevices[] = "touch-devices"; 93 const char kTouchDevices[] = "touch-devices";
97 #endif 94 #endif
98 95
99 } // namespace switches 96 } // namespace switches
OLDNEW
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698