Index: chrome/browser/geolocation/geolocation_infobar_delegate.h |
diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate.h b/chrome/browser/geolocation/geolocation_infobar_delegate.h |
index 93a6ab7d8370a0edfb26bc884e85334d94d0a555..6036cf466598d19c0c82b1ea798afcb8260ac220 100644 |
--- a/chrome/browser/geolocation/geolocation_infobar_delegate.h |
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate.h |
@@ -27,6 +27,9 @@ class GeolocationInfoBarDelegate : public ConfirmInfoBarDelegate { |
const GURL& requesting_frame, |
const std::string& display_languages); |
+ // Make infobar visible to the user. |
+ void Show(InfoBarService* infobar_service); |
+ |
protected: |
GeolocationInfoBarDelegate(InfoBarService* infobar_service, |
PermissionQueueController* controller, |
@@ -39,6 +42,10 @@ class GeolocationInfoBarDelegate : public ConfirmInfoBarDelegate { |
// ConfirmInfoBarDelegate: |
virtual bool Accept() OVERRIDE; |
+ // Give the InfoBar a chance to do some work before showing |
+ // to the user. |
+ virtual void Initialize(InfoBarService* infobar_service); |
+ |
// Call back to the controller, to inform of the user's decision. |
void SetPermission(bool update_content_setting, bool allowed); |