summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-06 23:43:19 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-06 23:43:19 +0000
commit5a10a19233b63ac48df96f40dd00925222d58c6e (patch)
tree920071fd91e5df8553da6590b0c1640a62b15f30 /ash/ash_switches.cc
parent32a7213b495e7782ba9ccb85908c7d3bffbbdaed (diff)
downloadchromium_src-5a10a19233b63ac48df96f40dd00925222d58c6e.zip
chromium_src-5a10a19233b63ac48df96f40dd00925222d58c6e.tar.gz
chromium_src-5a10a19233b63ac48df96f40dd00925222d58c6e.tar.bz2
Ash: Use translucent frames by default
Remove --aura-translucent-frames switch. Tie old-style frames to the existing --aura-window-mode=compact flag. Also fix a couple of cases where views::Widget wasn't be flagged as transparent, which would lead to black pixels in the window corners and incorrect headers in the inactive state. BUG=113075 TEST=visual, look at active and inactive browser windows, popup windows, cookie management (constrained dialog), task manager (general dialog) Review URL: http://codereview.chromium.org/9618022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index e5556e0..b45a9e2 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -16,6 +16,7 @@ const char kAshUberTray[] = "ash-uber-tray";
// Force the "compact" window mode regardless of the value of kAuraWindowMode.
// This can be used to override a value set in chrome://flags.
+// Also implies fully-opaque windows for performance.
// TODO(derat): Remove this once the normal mode is usable on all platforms.
const char kAuraForceCompactWindowMode[] = "aura-force-compact-window-mode";
@@ -31,9 +32,6 @@ const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
// Avoid drawing drop shadows under windows.
const char kAuraNoShadows[] = "aura-no-shadows";
-// Use Aura-style translucent window frame.
-const char kAuraTranslucentFrames[] = "aura-translucent-frames";
-
// If present animations are disabled.
const char kAuraWindowAnimationsDisabled[] = "aura-window-animations-disabled";