| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ | |
| 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_
H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" | |
| 10 | |
| 11 class GoogleLocationSettingsHelper; | |
| 12 | |
| 13 class GeolocationConfirmInfoBarDelegateAndroid | |
| 14 : public GeolocationConfirmInfoBarDelegate { | |
| 15 public: | |
| 16 GeolocationConfirmInfoBarDelegateAndroid( | |
| 17 InfoBarService* infobar_service, | |
| 18 GeolocationInfoBarQueueController* controller, | |
| 19 const GeolocationPermissionRequestID& id, | |
| 20 const GURL& requesting_frame_url, | |
| 21 const std::string& display_languages); | |
| 22 virtual ~GeolocationConfirmInfoBarDelegateAndroid(); | |
| 23 | |
| 24 private: | |
| 25 // ConfirmInfoBarDelegate: | |
| 26 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | |
| 27 virtual bool Accept() OVERRIDE; | |
| 28 | |
| 29 scoped_ptr<GoogleLocationSettingsHelper> google_location_settings_helper_; | |
| 30 | |
| 31 }; | |
| 32 | |
| 33 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDRO
ID_H_ | |
| OLD | NEW |