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

Unified Diff: ash/wm/custom_frame_view_ash.cc

Issue 10993087: Handle titlebar text updates properly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: ash/wm/custom_frame_view_ash.cc
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc
index 7aba0b4c6bb92cc0e39e099548089b3f628a8bf0..77977f2f51c66ad62a351d33aab952e3d102e243 100644
--- a/ash/wm/custom_frame_view_ash.cc
+++ b/ash/wm/custom_frame_view_ash.cc
@@ -105,6 +105,10 @@ void CustomFrameViewAsh::UpdateWindowIcon() {
window_icon_->SchedulePaint();
}
+void CustomFrameViewAsh::UpdateWindowTitle() {
+ frame_painter_->SchedulePaintForTitle(this, GetTitleFont());
+}
+
////////////////////////////////////////////////////////////////////////////////
// CustomFrameViewAsh, views::View overrides:

Powered by Google App Engine
This is Rietveld 408576698