| Index: components/infobars/core/infobar_delegate.h
|
| diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
|
| index 5032430d36c543c51f859f728bf3a93f6ac16bb9..e75033b51647dab371c15947a73eed444312507b 100644
|
| --- a/components/infobars/core/infobar_delegate.h
|
| +++ b/components/infobars/core/infobar_delegate.h
|
| @@ -34,6 +34,8 @@ namespace translate {
|
| class TranslateInfoBarDelegate;
|
| }
|
|
|
| +class SearchGeolocationDisclosureInfoBarDelegate;
|
| +
|
| namespace gfx {
|
| class Image;
|
| enum class VectorIconId;
|
| @@ -143,6 +145,7 @@ class InfoBarDelegate {
|
| SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69,
|
| GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID = 70,
|
| OFFLINE_PAGE_INFOBAR_DELEGATE = 71,
|
| + SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE = 72,
|
| };
|
|
|
| // Describes navigation events, used to decide whether infobars should be
|
| @@ -229,6 +232,8 @@ class InfoBarDelegate {
|
| virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate();
|
| virtual offline_pages::OfflinePageInfoBarDelegate*
|
| AsOfflinePageInfoBarDelegate();
|
| + virtual SearchGeolocationDisclosureInfoBarDelegate*
|
| + AsSearchGeolocationDisclosureInfoBarDelegate();
|
| #endif
|
|
|
| void set_infobar(InfoBar* infobar) { infobar_ = infobar; }
|
|
|