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

Unified Diff: ash/wm/frame_painter.cc

Issue 10169044: Draw panel titlebars on Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.cc
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index a162b5d28d5837433eadeeeddfade60e89fa4094..7fe41ecbe89ed015da31efd673b343af74a41f4b 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698