Commit 917bb4bf authored by dcheng@chromium.org's avatar dcheng@chromium.org

Draw panel titlebars on Aura.

Since panel windows aren't transparent, we didn't draw anything so the
titlebars for panels were black with buttons drawn on top.

BUG=none
TEST=manual


Review URL: http://codereview.chromium.org/10169044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133891 0039d316-1c4b-4281-b951-d872f2087c98
parent 4260c386
......@@ -119,7 +119,8 @@ bool IsVisibleNormalWindow(aura::Window* window) {
// IsVisible() also tracks the layer visibility state.
return window &&
window->TargetVisibility() &&
window->type() == aura::client::WINDOW_TYPE_NORMAL;
(window->type() == aura::client::WINDOW_TYPE_NORMAL ||
window->type() == aura::client::WINDOW_TYPE_PANEL);
}
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment