Index: chrome/browser/ui/browser_window.h |
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h |
index 431c35a04720c4ae497a2a43bee61174eab030b3..4a9c6e0d7b845a689b58babb95a214ea8323ee7c 100644 |
--- a/chrome/browser/ui/browser_window.h |
+++ b/chrome/browser/ui/browser_window.h |
@@ -54,6 +54,10 @@ class Rect; |
class Size; |
} |
+namespace signin { |
+enum GAIA_SERVICE_TYPE; |
+} |
+ |
namespace web_modal { |
class WebContentsModalDialogHost; |
} |
@@ -364,12 +368,13 @@ class BrowserWindow : public ui::BaseWindow { |
const gfx::Rect& rect) = 0; |
// Shows the avatar bubble on the window frame off of the avatar button with |
- // the given mode. |
+ // the given mode. The Service Type specified by GAIA is provided as well. |
enum AvatarBubbleMode { |
AVATAR_BUBBLE_MODE_DEFAULT, |
- AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT |
+ AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, |
}; |
- virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) = 0; |
+ virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, |
+ signin::GAIA_SERVICE_TYPE service_type) = 0; |
// Show bubble for password generation positioned relative to |rect|. The |
// subclasses implementing this interface do not own the |password_generator| |