Show avatar menu from NTP4
If the user clicks on the NTP login status we now show the avatar menu.
BUG=93179
TEST=Tested on Views. Mac build pending.
Review URL: http://codereview.chromium.org/8110003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104300 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 227064c..7ef8523 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -348,6 +348,12 @@
// Construct a BrowserWindow implementation for the specified |browser|.
static BrowserWindow* CreateBrowserWindow(Browser* browser);
+ // Shows the avatar bubble inside |tab_contents|. The bubble is positioned
+ // relative to |rect|. |rect| should be in the |tab_contents| coordinate
+ // system.
+ virtual void ShowAvatarBubble(TabContents* tab_contents,
+ const gfx::Rect& rect) = 0;
+
protected:
friend class BrowserList;
friend class BrowserView;