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

Unified Diff: chrome/browser/ui/views/ash/browser_non_client_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
Index: chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
index af96cd458aa55c30a073642cbc215ed5a24fa833..4ed192f1ff2245b811572b7eb91b08045d447925 100644
--- a/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc
@@ -261,6 +261,11 @@ void BrowserNonClientFrameViewAsh::UpdateWindowIcon() {
window_icon_->SchedulePaint();
}
+void BrowserNonClientFrameViewAsh::UpdateWindowTitle() {
+ if (!frame()->IsFullscreen())
+ frame_painter_->SchedulePaintForTitle(this, BrowserFrame::GetTitleFont());
+}
+
///////////////////////////////////////////////////////////////////////////////
// views::View overrides:

Powered by Google App Engine
This is Rietveld 408576698