| 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 #include "ash/common/ash_switches.h" | 5 #include "ash/common/ash_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // Specifies a maximum number of preview windows in overview mode that still | 101 // Specifies a maximum number of preview windows in overview mode that still |
| 102 // allows using mask layers to hide the original window header and use rounded | 102 // allows using mask layers to hide the original window header and use rounded |
| 103 // corners. | 103 // corners. |
| 104 const char kAshMaxWindowsToUseMaskInOverview[] = "ash-max-previews-to-use-mask"; | 104 const char kAshMaxWindowsToUseMaskInOverview[] = "ash-max-previews-to-use-mask"; |
| 105 | 105 |
| 106 // Specifies a maximum number of preview windows in overview mode that still | 106 // Specifies a maximum number of preview windows in overview mode that still |
| 107 // allows using alpha shapes to hide the original window header. | 107 // allows using alpha shapes to hide the original window header. |
| 108 const char kAshMaxWindowsToUseShapeInOverview[] = | 108 const char kAshMaxWindowsToUseShapeInOverview[] = |
| 109 "ash-max-previews-to-use-shape"; | 109 "ash-max-previews-to-use-shape"; |
| 110 | 110 |
| 111 // Specifies the layout mode and offsets for the secondary display for | |
| 112 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, | |
| 113 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display | |
| 114 // is positioned on the right with -100 offset. (above than primary) | |
| 115 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; | |
| 116 | |
| 117 // Enables the heads-up display for tracking touch points. | 111 // Enables the heads-up display for tracking touch points. |
| 118 const char kAshTouchHud[] = "ash-touch-hud"; | 112 const char kAshTouchHud[] = "ash-touch-hud"; |
| 119 | 113 |
| 120 // Uses the 1st display in --ash-host-window-bounds as internal display. | 114 // Uses the 1st display in --ash-host-window-bounds as internal display. |
| 121 // This is for debugging on linux desktop. | 115 // This is for debugging on linux desktop. |
| 122 const char kAshUseFirstDisplayAsInternal[] = | 116 const char kAshUseFirstDisplayAsInternal[] = |
| 123 "ash-use-first-display-as-internal"; | 117 "ash-use-first-display-as-internal"; |
| 124 | 118 |
| 125 // Use new window behavior for virtual keyboard (do not change work area in | 119 // Use new window behavior for virtual keyboard (do not change work area in |
| 126 // non-sticky mode). | 120 // non-sticky mode). |
| (...skipping 19 matching lines...) Expand all Loading... |
| 146 | 140 |
| 147 return base::SysInfo::IsRunningOnChromeOS() || | 141 return base::SysInfo::IsRunningOnChromeOS() || |
| 148 base::CommandLine::ForCurrentProcess()->HasSwitch( | 142 base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 149 kAshConstrainPointerToRoot); | 143 kAshConstrainPointerToRoot); |
| 150 } | 144 } |
| 151 | 145 |
| 152 #endif | 146 #endif |
| 153 | 147 |
| 154 } // namespace switches | 148 } // namespace switches |
| 155 } // namespace ash | 149 } // namespace ash |
| OLD | NEW |