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

Unified Diff: ash/frame/custom_frame_view_ash.cc

Issue 2268863006: Fix the issue of app window frame header buttons not being repainted when its activation state chan… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 | « ash/frame/custom_frame_view_ash.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/frame/custom_frame_view_ash.cc
diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc
index c0f057c4f81e363bb7de6cff380aa962c8170d99..96468b4478e703c73cbc58d8a99d5f7604bf3113 100644
--- a/ash/frame/custom_frame_view_ash.cc
+++ b/ash/frame/custom_frame_view_ash.cc
@@ -516,6 +516,11 @@ void CustomFrameViewAsh::SizeConstraintsChanged() {
header_view_->SizeConstraintsChanged();
}
+void CustomFrameViewAsh::ActivationChanged(bool active) {
+ // The icons differ between active and inactive.
+ header_view_->SchedulePaint();
+}
+
////////////////////////////////////////////////////////////////////////////////
// CustomFrameViewAsh, views::View overrides:
« no previous file with comments | « ash/frame/custom_frame_view_ash.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698