| Index: chrome/browser/geolocation/geolocation_permission_context.cc
|
| ===================================================================
|
| --- chrome/browser/geolocation/geolocation_permission_context.cc (revision 72676)
|
| +++ chrome/browser/geolocation/geolocation_permission_context.cc (working copy)
|
| @@ -135,7 +135,6 @@
|
| virtual SkBitmap* GetIcon() const;
|
| virtual Type GetInfoBarType() const;
|
| virtual string16 GetMessageText() const;
|
| - virtual int GetButtons() const;
|
| virtual string16 GetButtonLabel(InfoBarButton button) const;
|
| virtual bool Accept();
|
| virtual bool Cancel();
|
| @@ -195,10 +194,6 @@
|
| net::FormatUrl(requesting_frame_url_.GetOrigin(), display_languages_));
|
| }
|
|
|
| -int GeolocationConfirmInfoBarDelegate::GetButtons() const {
|
| - return BUTTON_OK | BUTTON_CANCEL;
|
| -}
|
| -
|
| string16 GeolocationConfirmInfoBarDelegate::GetButtonLabel(
|
| InfoBarButton button) const {
|
| return l10n_util::GetStringUTF16((button == BUTTON_OK) ?
|
|
|