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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 8110003: Show avatar menu from NTP4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 7a2e7f744225f4f35b8abeaf9a32abd0ed2c7daa..abbc704efcd1ba433f3769db08ecaf6b1c8dc71c 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -353,6 +353,9 @@ class BrowserWindow {
// Construct a BrowserWindow implementation for the specified |browser|.
static BrowserWindow* CreateBrowserWindow(Browser* browser);
+ // Shows the avatar bubble at the given position inside |tab_contents|.
Robert Sesek 2011/10/03 14:55:57 In what coordinate system is the point?
sail 2011/10/03 18:46:03 Should be in tab_content's coordinate system. Adde
+ virtual void ShowAvatarBubble(TabContents* tab_contents, int x, int y) = 0;
Robert Sesek 2011/10/03 14:55:57 Use a gfx::Point?
sail 2011/10/03 18:46:03 Changed to gfx::Rect.
Elliot Glaysher 2011/10/03 19:26:46 Why a Rect? The bubble size will depend on platfor
sail 2011/10/03 19:28:35 The bubble position depends on the width and heigh
+
protected:
friend class BrowserList;
friend class BrowserView;

Powered by Google App Engine
This is Rietveld 408576698