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

Unified Diff: athena/activity/activity_view_manager_impl.cc

Issue 549593002: athena: Make sure the window captions update correctly for theme-color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « athena/activity/activity_frame_view.cc ('k') | athena/content/web_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_view_manager_impl.cc
diff --git a/athena/activity/activity_view_manager_impl.cc b/athena/activity/activity_view_manager_impl.cc
index 7f6eed8b8ad426d3e46d525f598320bcaafc3af1..76d40d497328a51acfeff6036c600279dc94536c 100644
--- a/athena/activity/activity_view_manager_impl.cc
+++ b/athena/activity/activity_view_manager_impl.cc
@@ -74,8 +74,10 @@ class ActivityViewManagerImpl : public ActivityViewManager,
virtual void UpdateActivity(Activity* activity) OVERRIDE {
ActivityWidgetMap::iterator find = activity_widgets_.find(activity);
- if (find != activity_widgets_.end())
+ if (find != activity_widgets_.end()) {
+ find->second->UpdateWindowIcon();
find->second->UpdateWindowTitle();
+ }
}
// views::WidgetObserver:
« no previous file with comments | « athena/activity/activity_frame_view.cc ('k') | athena/content/web_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698