diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 00:29:10 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-07 00:29:10 +0000 |
commit | f18cde9b9bda82aac3537c1959a55e463055974f (patch) | |
tree | c9c82c6f6f6e7e295168355da8056f04de4488c6 /ash/ash_switches.cc | |
parent | 93af0733aab11e5a8eb8beb84d77c38b3c30e9b0 (diff) | |
download | chromium_src-f18cde9b9bda82aac3537c1959a55e463055974f.zip chromium_src-f18cde9b9bda82aac3537c1959a55e463055974f.tar.gz chromium_src-f18cde9b9bda82aac3537c1959a55e463055974f.tar.bz2 |
Revert 125251 - Ash: Use translucent frames by default
Was crashing a test on Linux ChromiumOS Tester (1):
[ RUN ] PrintPreviewUIUnitTest.PrintPreviewData
base::debug::StackTrace::StackTrace() [0x27842fe]
base::(anonymous namespace)::StackDumpSignalHandler() [0x27bcd09]
0x7f5819766af0
ConstrainedWindowViews::ConstrainedWindowViews() [0x1c785db]
ConstrainedHtmlUI::CreateConstrainedHtmlDialog() [0x1c78170]
printing::PrintPreviewTabController::CreatePrintPreviewTab() [0x1a63a21]
printing::PrintPreviewTabController::GetOrCreatePreviewTab() [0x1a63dfb]
PrintPreviewUIUnitTest_PrintPreviewData_Test::TestBody() [0x12200ba]
testing::Test::Run() [0x2351031]
testing::TestInfo::Run() [0x23510fa]
testing::TestCase::Run() [0x2351247]
testing::internal::UnitTestImpl::RunAllTests() [0x23514dd]
testing::UnitTest::Run() [0x234fbe3]
base::TestSuite::Run() [0x3ef7f48]
main [0x24716e5]
0x7f5819751c4d
0x423779
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
TBR=jamescook@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9617029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r-- | ash/ash_switches.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index b45a9e2..e5556e0 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -16,7 +16,6 @@ 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"; @@ -32,6 +31,9 @@ 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"; |