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

Unified Diff: ui/views/window/non_client_view.h

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 | « ui/views/window/native_frame_view.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/non_client_view.h
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
index 3b6fd0b7c7574fc53ef9ccfd47662c039e335e8d..9658657f8452c39f01f51d420ceecfb898e37412 100644
--- a/ui/views/window/non_client_view.h
+++ b/ui/views/window/non_client_view.h
@@ -65,6 +65,7 @@ class VIEWS_EXPORT NonClientFrameView : public View {
gfx::Path* window_mask) = 0;
virtual void ResetWindowControls() = 0;
virtual void UpdateWindowIcon() = 0;
+ virtual void UpdateWindowTitle() = 0;
// Overridden from View:
virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
@@ -184,6 +185,10 @@ class VIEWS_EXPORT NonClientView : public View {
// Tells the NonClientView to invalidate the NonClientFrameView's window icon.
void UpdateWindowIcon();
+ // Tells the NonClientView to invalidate the NonClientFrameView's window
+ // title.
+ void UpdateWindowTitle();
+
// Get/Set client_view property.
ClientView* client_view() const { return client_view_; }
void set_client_view(ClientView* client_view) {
« no previous file with comments | « ui/views/window/native_frame_view.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698