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

Side by Side Diff: ash/common/ash_switches.cc

Issue 2184543005: [ash-md] Improves smoothness with many windows in overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 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
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/wm/overview/scoped_transform_overview_window.h » ('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 "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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // "800,0+800-800x800,0+1600-800x800" for three displays at 800x800 resolution. 95 // "800,0+800-800x800,0+1600-800x800" for three displays at 800x800 resolution.
96 const char kAshHostWindowBounds[] = "ash-host-window-bounds"; 96 const char kAshHostWindowBounds[] = "ash-host-window-bounds";
97 97
98 // Specifies if Material Design elements in Chrome OS system UI are enabled. 98 // Specifies if Material Design elements in Chrome OS system UI are enabled.
99 // Can be disabled / enabled / experimental allowing to launch incrementally. 99 // Can be disabled / enabled / experimental allowing to launch incrementally.
100 const char kAshMaterialDesign[] = "ash-md"; 100 const char kAshMaterialDesign[] = "ash-md";
101 const char kAshMaterialDesignDisabled[] = "disabled"; 101 const char kAshMaterialDesignDisabled[] = "disabled";
102 const char kAshMaterialDesignEnabled[] = "enabled"; 102 const char kAshMaterialDesignEnabled[] = "enabled";
103 const char kAshMaterialDesignExperimental[] = "experimental"; 103 const char kAshMaterialDesignExperimental[] = "experimental";
104 104
105 // Specifies a maximum number of preview windows in overview mode that still
106 // allows using mask layers to hide the original window header and use rounded
107 // corners.
108 const char kAshMaxWindowsToUseMaskInOverview[] = "ash-max-previews-to-use-mask";
109
110 // Specifies a maximum number of preview windows in overview mode that still
111 // allows using alpha shapes to hide the original window header.
112 const char kAshMaxWindowsToUseShapeInOverview[] =
113 "ash-max-previews-to-use-shape";
114
105 // Specifies the layout mode and offsets for the secondary display for 115 // Specifies the layout mode and offsets for the secondary display for
106 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, 116 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT,
107 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display 117 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display
108 // is positioned on the right with -100 offset. (above than primary) 118 // is positioned on the right with -100 offset. (above than primary)
109 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; 119 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
110 120
111 // Enables the heads-up display for tracking touch points. 121 // Enables the heads-up display for tracking touch points.
112 const char kAshTouchHud[] = "ash-touch-hud"; 122 const char kAshTouchHud[] = "ash-touch-hud";
113 123
114 // Uses the 1st display in --ash-host-window-bounds as internal display. 124 // Uses the 1st display in --ash-host-window-bounds as internal display.
(...skipping 21 matching lines...) Expand all
136 146
137 return base::SysInfo::IsRunningOnChromeOS() || 147 return base::SysInfo::IsRunningOnChromeOS() ||
138 base::CommandLine::ForCurrentProcess()->HasSwitch( 148 base::CommandLine::ForCurrentProcess()->HasSwitch(
139 kAshConstrainPointerToRoot); 149 kAshConstrainPointerToRoot);
140 } 150 }
141 151
142 #endif 152 #endif
143 153
144 } // namespace switches 154 } // namespace switches
145 } // namespace ash 155 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/wm/overview/scoped_transform_overview_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698