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

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

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