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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 2239233002: [ash-md] Fades overview header in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fades overview header in and out (rebase) Created 4 years, 3 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
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index b1672d8ac95b3d0d0bd488cbacdba10d5163848c..281297255b28de28741018812275577f5c7e3349 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -360,6 +360,9 @@ void BrowserNonClientFrameViewAsh::ChildPreferredSizeChanged(
// ash::ShellObserver:
void BrowserNonClientFrameViewAsh::OnOverviewModeStarting() {
+ frame()->GetNativeWindow()->SetProperty(
+ aura::client::kTopViewColor,
+ static_cast<int>(GetFrameColor()));
if (ash::MaterialDesignController::IsOverviewMaterial())
caption_button_container_->SetVisible(false);
}

Powered by Google App Engine
This is Rietveld 408576698