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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.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: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
index a7b7c34c4555eb778deaca1d35f180c556514ba6..fc9cf560e46ad56a5a057a7ba4f76b9b0993acb1 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -377,6 +377,11 @@ void OpaqueBrowserFrameView::UpdateWindowIcon() {
window_icon_->SchedulePaint();
}
+void OpaqueBrowserFrameView::UpdateWindowTitle() {
+ if (!frame()->IsFullscreen())
+ SchedulePaintInRect(title_bounds_);
msw 2012/09/28 20:10:51 This particular implementation may be unnecessary
Mr4D (OOO till 08-26) 2012/09/28 20:30:48 This particular: You may be right. I was adding th
msw 2012/09/28 20:42:51 Okay, let me know if you'd like my full review her
+}
+
///////////////////////////////////////////////////////////////////////////////
// OpaqueBrowserFrameView, views::View overrides:
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.h ('k') | chrome/browser/ui/views/frame/popup_non_client_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698