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

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: Odd - build machine failed to update patch (which I updated successfully) Re-uploading 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
« no previous file with comments | « ash/wm/custom_frame_view_ash.h ('k') | ash/wm/dialog_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « ash/wm/custom_frame_view_ash.h ('k') | ash/wm/dialog_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698