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

Unified Diff: chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h

Issue 8370021: Make avatar menu bubble as singleton and destroy all the menu items and menu model when bubble cl... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « no previous file | chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h
===================================================================
--- chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h (revision 106832)
+++ chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h (working copy)
@@ -48,6 +48,8 @@
virtual void EditProfile(size_t profile_index);
private:
+ // Notified when |contents_| is destroyed so we can delete our instance.
+ CHROMEGTK_CALLBACK_0(AvatarMenuBubbleGtk, void, OnDestroy);
CHROMEGTK_CALLBACK_1(AvatarMenuBubbleGtk, void, OnSizeRequest,
GtkRequisition*);
CHROMEGTK_CALLBACK_0(AvatarMenuBubbleGtk, void, OnNewProfileLinkClicked);
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698