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

Unified Diff: ash/wm/frame_painter.cc

Issue 11673006: Disabled transparency for header bars on the signin screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix, sync. Created 8 years 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 | ash/wm/window_properties.h » ('j') | 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 7f166437057211b31c4cdd17c72c2409cd13c2f7..5ccda29bf09882b50c21cea9006d2d295ac55b08 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -791,9 +791,8 @@ int FramePainter::AdjustFrameHitCodeForMaximizedModes(int hit_code) {
bool FramePainter::UseSoloWindowHeader() {
aura::RootWindow* root = window_->GetRootWindow();
- if (!root)
+ if (!root || root->GetProperty(internal::kIgnoreSoloWindowFramePainterPolicy))
return false;
-
return (root->GetProperty(internal::kSoloWindowFramePainterKey) == this);
}
« no previous file with comments | « no previous file | ash/wm/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698