Index: chrome/browser/ui/browser_window.h |
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h |
index cfe9cfef8f86a238891523d69cf5badacdc24540..2cfdc260d2d13d4b44658d690aa366906b728721 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,14 +368,15 @@ 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_SIGNIN, |
- AVATAR_BUBBLE_MODE_REAUTH |
+ AVATAR_BUBBLE_MODE_REAUTH, |
}; |
- 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| |